]> git.baikalelectronics.ru Git - kernel.git/commit
mips: alchemy: gpio: Include the right header
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Nov 2022 10:15:35 +0000 (11:15 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 11 Nov 2022 14:45:37 +0000 (15:45 +0100)
commit2a296157859287c3b639f7228354c13f7182ed71
treea63657f9252162425f2dc58b0ecd1ba7a2c07303
parentfa706927f4722a2df723b2a28d139b1904a3e7fa
mips: alchemy: gpio: Include the right header

The local GPIO driver in the MIPS Alchemy is including the legacy
<linux/gpio.h> header but what it wants is to implement a GPIO
driver so include <linux/gpio/driver.h> instead.

Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: linux-gpio@vger.kernel.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/common/gpiolib.c