Florian Fainelli 1f761b3e67 MIPS: Allow modules to set board_be_handler
After making the brcmstb_gisb driver modular with 707a4cdf86e5 ("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: 707a4cdf86e5 ("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
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:40 +01:00
2021-10-24 17:24:47 +02:00
2018-10-31 08:54:16 -07:00
2020-05-22 09:09:01 +02:00
2021-10-24 17:24:47 +02:00
2021-02-15 12:23:54 +01:00
2020-05-22 09:09:01 +02:00
2021-04-06 15:12:58 +02:00
2021-03-06 08:43:39 +01:00
2020-05-15 14:53:19 +02:00
2020-05-22 09:13:32 +02:00
2020-07-26 10:18:35 +02:00
2021-04-07 16:11:05 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00