Skip to content

Commit 2a29615

Browse files
linuswtsbogend
authored andcommitted
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>
1 parent fa70692 commit 2a29615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/alchemy/common/gpiolib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <linux/init.h>
3232
#include <linux/kernel.h>
3333
#include <linux/types.h>
34-
#include <linux/gpio.h>
34+
#include <linux/gpio/driver.h>
3535
#include <asm/mach-au1x00/gpio-au1000.h>
3636
#include <asm/mach-au1x00/gpio-au1300.h>
3737

0 commit comments

Comments
 (0)