summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-14 02:05:38 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-14 02:05:38 +0100
commit7220c43a4efa4f5107bc1b99410d2b01df1837ed (patch)
treea5a7aa2f9000134495ed26293289d0b5ca4ad977 /drivers
parent45e8bd9cdc021f4a11eb50e68ff02058e95e8d86 (diff)
downloadlinux-stable-7220c43a4efa4f5107bc1b99410d2b01df1837ed.tar.gz
linux-stable-7220c43a4efa4f5107bc1b99410d2b01df1837ed.tar.bz2
linux-stable-7220c43a4efa4f5107bc1b99410d2b01df1837ed.zip
gpio: davinci: Include proper header
This driver has no business including <linux/gpio.h>, it is a driver so include <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-davinci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index f75d8443ecaf..34fc0a167b7c 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -9,7 +9,7 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/clk.h>