summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorPramod Gurav <pramod.gurav@smartplayin.com>2015-01-28 11:19:47 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-01-29 10:17:56 +0200
commitc72599bf4a92354ec6366820115ea040cc9e7358 (patch)
treeaa26484ccfec6f5d7dfc99d2c3dabe033b8eefef /drivers/ssb
parent4165fe9a9287aa9c8e7e4152c21ee179d49d129e (diff)
downloadop-kernel-dev-c72599bf4a92354ec6366820115ea040cc9e7358.zip
op-kernel-dev-c72599bf4a92354ec6366820115ea040cc9e7358.tar.gz
ssb: Fix Sparse error in main
This change fixes below sparse error: drivers/ssb/main.c:94:16: warning: symbol 'ssb_sdio_func_to_bus' was not declared. Should it be static? Acked-by: Michael Buesch <m@bues.ch> Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
-rw-r--r--drivers/ssb/main.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index 2fead38..1e180c4 100644
--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -90,25 +90,6 @@ found:
}
#endif /* CONFIG_SSB_PCMCIAHOST */
-#ifdef CONFIG_SSB_SDIOHOST
-struct ssb_bus *ssb_sdio_func_to_bus(struct sdio_func *func)
-{
- struct ssb_bus *bus;
-
- ssb_buses_lock();
- list_for_each_entry(bus, &buses, list) {
- if (bus->bustype == SSB_BUSTYPE_SDIO &&
- bus->host_sdio == func)
- goto found;
- }
- bus = NULL;
-found:
- ssb_buses_unlock();
-
- return bus;
-}
-#endif /* CONFIG_SSB_SDIOHOST */
-
int ssb_for_each_bus_call(unsigned long data,
int (*func)(struct ssb_bus *bus, unsigned long data))
{
OpenPOWER on IntegriCloud