pinctrl: mediatek: Add missing header(s)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Oct 2022 13:44:44 +0000 (16:44 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Oct 2022 14:06:46 +0000 (17:06 +0300)
Do not imply that some of the generic headers may be always included.
Instead, include explicitly what we are direct user of.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/pinctrl/mediatek/pinctrl-moore.c
drivers/pinctrl/mediatek/pinctrl-paris.c

index 526faae..9474ada 100644 (file)
@@ -9,6 +9,9 @@
  */
 
 #include <linux/gpio/driver.h>
+
+#include <linux/pinctrl/consumer.h>
+
 #include "pinctrl-moore.h"
 
 #define PINCTRL_PINCTRL_DEV            KBUILD_MODNAME
index 74517e8..475f417 100644 (file)
 
 #include <linux/gpio/driver.h>
 #include <linux/module.h>
+#include <linux/seq_file.h>
+
+#include <linux/pinctrl/consumer.h>
+
 #include <dt-bindings/pinctrl/mt65xx.h>
+
 #include "pinctrl-paris.h"
 
 #define PINCTRL_PINCTRL_DEV    KBUILD_MODNAME