summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-10-25 19:32:43 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-10-28 21:05:21 +0200
commit845da6e58e19b932b8364ec3678b8f7f80d6b6a9 (patch)
treeaa8021dfb5c8c22a79fee9e1e78417f0f886a85f /drivers/ssb/main.c
parent830c7df46247b44aa46ae276073e2e10727c9e93 (diff)
downloadop-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.c2
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)
{
OpenPOWER on IntegriCloud