summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/ssb_private.h
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 20:05:21 +0100
commit845da6e58e19b932b8364ec3678b8f7f80d6b6a9 (patch)
treeaa8021dfb5c8c22a79fee9e1e78417f0f886a85f /drivers/ssb/ssb_private.h
parentssb: move functions specific to SoC hosted bus to separated file (diff)
downloadlinux-845da6e58e19b932b8364ec3678b8f7f80d6b6a9.tar.xz
linux-845da6e58e19b932b8364ec3678b8f7f80d6b6a9.zip
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/ssb_private.h')
-rw-r--r--drivers/ssb/ssb_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h
index 0a756c2519e5..15bfd5c7d2d7 100644
--- a/drivers/ssb/ssb_private.h
+++ b/drivers/ssb/ssb_private.h
@@ -161,7 +161,9 @@ static inline int ssb_sdio_init(struct ssb_bus *bus)
* host_soc.c
**************************************************/
+#ifdef CONFIG_SSB_HOST_SOC
extern const struct ssb_bus_ops ssb_host_soc_ops;
+#endif
/* scan.c */
extern const char *ssb_core_name(u16 coreid);