WSL2-Linux-Kernel/arch/mips/txx9/generic
Florian Fainelli 1f761b3e67 MIPS: Allow modules to set board_be_handler
After making the brcmstb_gisb driver modular with 707a4cdf86 ("bus:
brcmstb_gisb: Allow building as module") Guenter reported that mips
allmodconfig failed to link because board_be_handler was referenced.

Thomas indicated that if we were to continue making the brcmstb_gisb
driver modular for MIPS we would need to introduce a function that
allows setting the board_be_handler and export that function towards
modules.

This is what is being done here: board_be_handler is made static and is
now settable with a mips_set_be_handler() function which is exported.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Suggested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Fixes: 707a4cdf86 ("bus: brcmstb_gisb: Allow building as module")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-11-09 16:07:26 +01:00
..
7segled.c MIPS: TXx9: 7segled: use permission-specific DEVICE_ATTR variants 2017-01-03 16:34:32 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
irq_tx3927.c [MIPS] TXx9: Make tx3927-specific code more independent 2008-07-30 21:54:39 +01:00
irq_tx4927.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
irq_tx4938.c MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
irq_tx4939.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mem_tx4927.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
pci.c MIPS: PCI: Move map_irq() hooks out of initdata 2017-09-19 14:55:26 -05:00
setup.c MIPS: Remove empty prom_free_prom_memory functions 2021-01-07 17:11:33 +01:00
setup_tx3927.c MIPS: TXx9: Modernize printing of kernel messages 2017-01-03 16:34:32 +01:00
setup_tx4927.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
setup_tx4938.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
setup_tx4939.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
smsc_fdc37m81x.c MIPS: TXx9: Modernize printing of kernel messages 2017-01-03 16:34:32 +01:00
spi_eeprom.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00