summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ucb1400.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-08-31 11:47:50 +0300
committerBartosz Golaszewski <brgl@bgdev.pl>2022-08-31 14:37:32 +0300
commit66df18b3bd74107dd7c196e75ce00d64d7553152 (patch)
tree6000ac9212690251855c8340fd05a35c879d20b9 /drivers/gpio/gpio-ucb1400.c
parent1e65d136d956e4d33bd0a5d48e3e32d7d951c156 (diff)
downloadlinux-66df18b3bd74107dd7c196e75ce00d64d7553152.tar.xz
gpio: ucb1400: Use proper header
The UCB1400 implements a GPIO driver so it needs to include the <linux/gpio/driver.h> header, not the legacy <linux/gpio.h> header. Compile tested on pxa_defconfig. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpio-ucb1400.c')
-rw-r--r--drivers/gpio/gpio-ucb1400.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c
index 386e69300332..676adf1f198a 100644
--- a/drivers/gpio/gpio-ucb1400.c
+++ b/drivers/gpio/gpio-ucb1400.c
@@ -7,6 +7,7 @@
#include <linux/module.h>
#include <linux/ucb1400.h>
+#include <linux/gpio/driver.h>
static int ucb1400_gpio_dir_in(struct gpio_chip *gc, unsigned off)
{