]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: alchemy: xxs1500: add gpio-au1000.h header file
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 17 May 2021 00:01:08 +0000 (17:01 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 25 May 2021 13:16:23 +0000 (15:16 +0200)
commit98217d98c819df62947e3a7a02ab50ec1a3e3018
tree9ace3ea6ee4b6f2ca04529fc547b3699770533ad
parent9fb51bb203ba1c67f480638e9d0605db59810687
MIPS: alchemy: xxs1500: add gpio-au1000.h header file

board-xxs1500.c references 2 functions without declaring them, so add
the header file to placate the build.

../arch/mips/alchemy/board-xxs1500.c: In function 'board_setup':
../arch/mips/alchemy/board-xxs1500.c:56:2: error: implicit declaration of function 'alchemy_gpio1_input_enable' [-Werror=implicit-function-declaration]
   56 |  alchemy_gpio1_input_enable();
../arch/mips/alchemy/board-xxs1500.c:57:2: error: implicit declaration of function 'alchemy_gpio2_enable'; did you mean 'alchemy_uart_enable'? [-Werror=implicit-function-declaration]
   57 |  alchemy_gpio2_enable();

Fixes: 81f20e78372e ("MIPS: Alchemy: merge GPR/MTX-1/XXS1500 board code into single files")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Cc: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/board-xxs1500.c