diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-10-25 19:32:43 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-10-28 21:05:21 +0200 |
commit | 845da6e58e19b932b8364ec3678b8f7f80d6b6a9 (patch) | |
tree | aa8021dfb5c8c22a79fee9e1e78417f0f886a85f /drivers/ssb/main.c | |
parent | 830c7df46247b44aa46ae276073e2e10727c9e93 (diff) | |
download | op-kernel-dev-845da6e58e19b932b8364ec3678b8f7f80d6b6a9.zip op-kernel-dev-845da6e58e19b932b8364ec3678b8f7f80d6b6a9.tar.gz |
ssb: add Kconfig entry for compiling SoC related code
This allows saving a little of space when not using ssb on Broadcom SoC.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb/main.c')
-rw-r--r-- | drivers/ssb/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index bea823e..5d1e9a0 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c @@ -761,6 +761,7 @@ int ssb_bus_sdiobus_register(struct ssb_bus *bus, struct sdio_func *func, EXPORT_SYMBOL(ssb_bus_sdiobus_register); #endif /* CONFIG_SSB_PCMCIAHOST */ +#ifdef CONFIG_SSB_HOST_SOC int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr, ssb_invariants_func_t get_invariants) { @@ -777,6 +778,7 @@ int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr, return err; } +#endif int __ssb_driver_register(struct ssb_driver *drv, struct module *owner) { |