summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-sx150x.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-11-08 10:25:42 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-11-08 10:26:46 +0100
commitfc669d13cb7700c67ebe55563642c84900fa43c9 (patch)
tree09d52f80f7cd57b6fa86aaf4735052890e6df577 /drivers/pinctrl/pinctrl-sx150x.c
parentpinctrl-sx150x: Remove magic numbers from sx150x_reset (diff)
downloadlinux-fc669d13cb7700c67ebe55563642c84900fa43c9.tar.xz
linux-fc669d13cb7700c67ebe55563642c84900fa43c9.zip
pinctrl: sx150x: fix up headers
Include <linux/gpio/driver.h> rather than <linux/gpio.h> Drop <linux/pinctrl/machine.h>. Cc: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-sx150x.c')
-rw-r--r--drivers/pinctrl/pinctrl-sx150x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/drivers/pinctrl/pinctrl-sx150x.c
index dc1341fdc73d..63778058eec7 100644
--- a/drivers/pinctrl/pinctrl-sx150x.c
+++ b/drivers/pinctrl/pinctrl-sx150x.c
@@ -27,8 +27,7 @@
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_device.h>
-#include <linux/gpio.h>
-#include <linux/pinctrl/machine.h>
+#include <linux/gpio/driver.h>
#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>