android_kernel_xiaomi_sm8450/arch/arm/mach-orion5x
Arnd Bergmann 5d6fbb6245 ARM: orion5x: fix d2net gpio initialization
commit f8ef1233939495c405a9faa4bd1ae7d3f581bae4 upstream.

The DT version of this board has a custom file with the gpio
device. However, it does nothing because the d2net_init()
has no caller or prototype:

arch/arm/mach-orion5x/board-d2net.c:101:13: error: no previous prototype for 'd2net_init'

Call it from the board-dt file as intended.

Fixes: 94b0bd366e ("ARM: orion5x: convert d2net to Device Tree")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230516153109.514251-10-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-27 08:44:14 +02:00
..
board-d2net.c
board-dt.c ARM: orion5x: fix d2net gpio initialization 2023-07-27 08:44:14 +02:00
board-mss2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
board-rd88f5182.c
bridge-regs.h
common.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
common.h ARM: orion5x: fix d2net gpio initialization 2023-07-27 08:44:14 +02:00
db88f5281-setup.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
dns323-setup.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
irq.c
irqs.h
Kconfig ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC 2020-03-08 12:25:43 +01:00
kurobox_pro-setup.c
ls_hgl-setup.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpp.c
mpp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mv2120-setup.c
net2big-setup.c
orion5x.h ARM: orion/mvebu: unify debug-ll virtual addresses 2019-08-14 19:24:58 +02:00
pci.c
rd88f5181l-fxo-setup.c ARM: orion5x: Include platform_data/dsa.h 2019-01-17 11:31:24 -08:00
rd88f5181l-ge-setup.c ARM: orion5x: Include platform_data/dsa.h 2019-01-17 11:31:24 -08:00
rd88f5182-setup.c
rd88f6183ap-ge-setup.c ARM: orion5x: Include platform_data/dsa.h 2019-01-17 11:31:24 -08:00
terastation_pro2-setup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ts78xx-fpga.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ts78xx-setup.c ARM: orion5x: ts78xx: Remove unneeded variable ret 2020-03-08 12:42:07 +01:00
ts209-setup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ts409-setup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tsx09-common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tsx09-common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wnr854t-setup.c ARM: orion5x: Include platform_data/dsa.h 2019-01-17 11:31:24 -08:00
wrt350n-v2-setup.c ARM: orion5x: Include platform_data/dsa.h 2019-01-17 11:31:24 -08:00