summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-24 15:27:28 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-05-24 18:09:41 +0300
commit12087fab9149fba529ff66dd283ed1090248de8e (patch)
treedd2e13b13a1b426a80b0034028cc616ac28f896c /drivers/gpio
parent644f3da0b42aa299554c9c09a96d23c03957c6b0 (diff)
downloadlinux-12087fab9149fba529ff66dd283ed1090248de8e.tar.xz
gpio: pcf857x: Include the right header
This is a GPIO driver, include only <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-pcf857x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c
index 38fbb420c6cd..adf72dda25a2 100644
--- a/drivers/gpio/gpio-pcf857x.c
+++ b/drivers/gpio/gpio-pcf857x.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/i2c.h>
#include <linux/platform_data/pcf857x.h>
#include <linux/interrupt.h>