OpenCloudOS-Kernel/arch/mips/txx9
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
..
generic MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
jmr3927 MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
rbtx4927 MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
rbtx4938 MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
rbtx4939 MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
Kconfig MIPS: TXx9: Fix Kconfig warnings 2020-04-14 12:52:28 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00