]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
MIPS: alchemy: provide visible function prototypes to board files
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Tue, 26 May 2026 16:40:33 +0000 (18:40 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 May 2026 07:52:34 +0000 (09:52 +0200)
commitd9a316fd994ee3c43ea1dedf76d9f452da79fc2c
tree30af89e0cc94876c3b174b28ec4dbc75d0dba2a7
parente2f48710459487341a70b5c433b87046da861ac9
MIPS: alchemy: provide visible function prototypes to board files

Board files under arch/mips/alchemy/ define functions called from
db1xxx.c but their prototypes are only in that .c file instead of being
declared in a common header. This causes several build warnings about
missing prototypes. Provide these prototypes in a new header and include
it where necessary.

Tested-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/devboards/db1000.c
arch/mips/alchemy/devboards/db1200.c
arch/mips/alchemy/devboards/db1300.c
arch/mips/alchemy/devboards/db1550.c
arch/mips/alchemy/devboards/db1xxx.c
arch/mips/alchemy/devboards/db1xxx.h [new file with mode: 0644]