]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
gpio: davinci: Include proper header
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 14 Jan 2018 01:05:38 +0000 (02:05 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 14 Jan 2018 01:05:38 +0000 (02:05 +0100)
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>
drivers/gpio/gpio-davinci.c

index f75d8443ecaff631d07e8b474e2bdf769357adb0..34fc0a167b7c3b9400a9b9674af025eabb3a7745 100644 (file)
@@ -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>