linux/arch/mips/sgi-ip32
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
..
crime.c
ip32-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
ip32-dma.c dma-direct: rename and cleanup __phys_to_dma 2020-09-11 09:14:43 +02:00
ip32-irq.c arch: mips: update references to current linux-mips list 2021-02-23 13:24:38 +01:00
ip32-memory.c MIPS: Remove empty prom_free_prom_memory functions 2021-01-07 17:11:33 +01:00
ip32-platform.c rtc: ds1685: add indirect access method and remove plat_read/plat_write 2019-10-16 10:39:00 +02:00
ip32-reset.c kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
ip32-setup.c MIPS: SGI-IP32: No need to include mc14818*.h 2020-08-26 12:23:06 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00