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 526faaebaf77c0011d9a66c07e430ede60cfe23c..9474ada5addb24fb85f68a44f466c9a79a28e685 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 74517e810958507f009b53d406396475d68bf427..475f4172d508528ceeae680549b665d2d8735bcb 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