diff options
| author | 2022-08-31 10:47:50 +0200 | |
|---|---|---|
| committer | 2022-08-31 13:37:32 +0200 | |
| commit | 66df18b3bd74107dd7c196e75ce00d64d7553152 (patch) | |
| tree | 6000ac9212690251855c8340fd05a35c879d20b9 /include/linux | |
| parent | dt-bindings: gpio: fairchild,74hc595: use spi-peripheral-props.yaml (diff) | |
| download | linux-dev-66df18b3bd74107dd7c196e75ce00d64d7553152.tar.xz linux-dev-66df18b3bd74107dd7c196e75ce00d64d7553152.zip | |
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 'include/linux')
| -rw-r--r-- | include/linux/ucb1400.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ucb1400.h b/include/linux/ucb1400.h index 22345391350b..2516082cd3a9 100644 --- a/include/linux/ucb1400.h +++ b/include/linux/ucb1400.h @@ -23,7 +23,7 @@ #include <sound/ac97_codec.h> #include <linux/mutex.h> #include <linux/platform_device.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> /* * UCB1400 AC-link registers |
