diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-07 16:44:44 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-24 17:06:46 +0300 |
commit | 9abef9f2edde2fca79fd0cffb0771727defce6b3 (patch) | |
tree | be08a802f290789fe58ae7942bd8304bf4da0662 /drivers/pinctrl | |
parent | c2ecb0273c2026844c8921375c42ddbac8bec16a (diff) | |
download | linux-9abef9f2edde2fca79fd0cffb0771727defce6b3.tar.gz linux-9abef9f2edde2fca79fd0cffb0771727defce6b3.tar.bz2 linux-9abef9f2edde2fca79fd0cffb0771727defce6b3.zip |
pinctrl: mediatek: Add missing header(s)
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-moore.c | 3 | ||||
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-paris.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-moore.c b/drivers/pinctrl/mediatek/pinctrl-moore.c index 526faaebaf77..9474ada5addb 100644 --- a/drivers/pinctrl/mediatek/pinctrl-moore.c +++ b/drivers/pinctrl/mediatek/pinctrl-moore.c @@ -9,6 +9,9 @@ */ #include <linux/gpio/driver.h> + +#include <linux/pinctrl/consumer.h> + #include "pinctrl-moore.h" #define PINCTRL_PINCTRL_DEV KBUILD_MODNAME diff --git a/drivers/pinctrl/mediatek/pinctrl-paris.c b/drivers/pinctrl/mediatek/pinctrl-paris.c index 74517e810958..475f4172d508 100644 --- a/drivers/pinctrl/mediatek/pinctrl-paris.c +++ b/drivers/pinctrl/mediatek/pinctrl-paris.c @@ -11,7 +11,12 @@ #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 |