linux/arch/mips/sgi-ip27
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
..
ip27-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
ip27-common.h MIPS: SGI-IP27: Store cpu speed when scanning for CPUs and use it later 2020-01-09 15:30:06 -08:00
ip27-console.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-hubio.c MIPS: SGI-IP27: Use union instead of typedef 2020-01-09 15:29:58 -08:00
ip27-init.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ip27-irq.c mips: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:40 +01:00
ip27-klconfig.c MIPS: SGI-IP27: use cpu physid already present while scanning for CPUs 2020-01-09 15:29:46 -08:00
ip27-klnuma.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-memory.c mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ip27-nmi.c MIPS: SGI-IP27: get rid of asm/sn/sn0/ip27.h 2020-01-09 15:29:51 -08:00
ip27-reset.c MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff 2020-01-09 15:29:50 -08:00
ip27-smp.c MIPS: SGI-IP27: Store cpu speed when scanning for CPUs and use it later 2020-01-09 15:30:06 -08:00
ip27-timer.c MIPS: SGI-IP27: fix spelling in Copyright 2021-03-06 08:43:39 +01:00
ip27-xtalk.c MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff 2020-01-09 15:29:50 -08:00
Kconfig MIPS: SGI-IP27: fix exception handler replication 2019-10-31 15:19:59 -07:00
Makefile MIPS: SGI-IP27: rework HUB interrupts 2019-02-19 12:46:03 -08:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00