OSDN Git Service

gpio: ucb1400: Use proper header
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 31 Aug 2022 08:47:50 +0000 (10:47 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 31 Aug 2022 11:37:32 +0000 (13:37 +0200)
commit66df18b3bd74107dd7c196e75ce00d64d7553152
tree6000ac9212690251855c8340fd05a35c879d20b9
parent1e65d136d956e4d33bd0a5d48e3e32d7d951c156
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>
drivers/gpio/gpio-ucb1400.c
include/linux/ucb1400.h