android_kernel_motorola_sm6225/arch/arm/mach-orion5x
Arnd Bergmann 437e6dcbac 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-08-11 11:45:15 +02:00
..
board-d2net.c
board-dt.c
board-mss2.c
board-rd88f5182.c
bridge-regs.h
common.c
common.h
db88f5281-setup.c
dns323-setup.c
irq.c
irqs.h
Kconfig
kurobox_pro-setup.c
ls_hgl-setup.c
Makefile
mpp.c
mpp.h
mv2120-setup.c
net2big-setup.c
orion5x.h
pci.c
rd88f5181l-fxo-setup.c
rd88f5181l-ge-setup.c
rd88f5182-setup.c
rd88f6183ap-ge-setup.c
terastation_pro2-setup.c
ts78xx-fpga.h
ts78xx-setup.c
ts209-setup.c
ts409-setup.c
tsx09-common.c
tsx09-common.h
wnr854t-setup.c
wrt350n-v2-setup.c