]> 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)
commit91615c53c2582ee1119c8cf039afb806937154d8
treea63657f9252162425f2dc58b0ecd1ba7a2c07303
parent68decff5b30cc0598b7a9b6a163e1108415a34cf
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