summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sprd
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-07 15:44:44 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-24 16:06:47 +0200
commit82a045ab274df4d5039f17f6ec547c5fcda6d07a (patch)
tree8d9304fd854fd40f3c00b4f2b84f1ce709e47eba /drivers/pinctrl/sprd
parentpinctrl: spear: Add missing header(s) (diff)
downloadlinux-82a045ab274df4d5039f17f6ec547c5fcda6d07a.tar.xz
linux-82a045ab274df4d5039f17f6ec547c5fcda6d07a.zip
pinctrl: sprd: 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. While at it, sort headers alphabetically. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Diffstat (limited to 'drivers/pinctrl/sprd')
-rw-r--r--drivers/pinctrl/sprd/pinctrl-sprd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c b/drivers/pinctrl/sprd/pinctrl-sprd.c
index dca7a505d413..ca9659f4e4b1 100644
--- a/drivers/pinctrl/sprd/pinctrl-sprd.c
+++ b/drivers/pinctrl/sprd/pinctrl-sprd.c
@@ -13,12 +13,15 @@
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
+#include <linux/seq_file.h>
+#include <linux/slab.h>
+
+#include <linux/pinctrl/consumer.h>
#include <linux/pinctrl/machine.h>
-#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinconf-generic.h>
+#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>
-#include <linux/slab.h>
#include "../core.h"
#include "../pinmux.h"