]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ssb: make ssb_pcmcia_switch_core static
authorRafał Miłecki <zajec5@gmail.com>
Mon, 21 Sep 2015 07:55:26 +0000 (09:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 08:03:14 +0000 (11:03 +0300)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/pcmcia.c
drivers/ssb/ssb_private.h

index b413e01870878b51097456ec71112bf32b56f2b5..f03422bbf087f6cf7d0fbfae41db15d0d334cfaa 100644 (file)
@@ -147,8 +147,7 @@ error:
        return err;
 }
 
-int ssb_pcmcia_switch_core(struct ssb_bus *bus,
-                          struct ssb_device *dev)
+static int ssb_pcmcia_switch_core(struct ssb_bus *bus, struct ssb_device *dev)
 {
        int err;
 
index 426c805b77271c9ab07815b654109d83a45738f1..8a2ebc88c66f74a37f22e1d5186a6a8eab528b80 100644 (file)
@@ -85,8 +85,6 @@ static inline int ssb_pci_init(struct ssb_bus *bus)
 
 /* pcmcia.c */
 #ifdef CONFIG_SSB_PCMCIAHOST
-extern int ssb_pcmcia_switch_core(struct ssb_bus *bus,
-                                 struct ssb_device *dev);
 extern int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus,
                                     u8 coreidx);
 extern int ssb_pcmcia_switch_segment(struct ssb_bus *bus,
@@ -98,11 +96,6 @@ extern void ssb_pcmcia_exit(struct ssb_bus *bus);
 extern int ssb_pcmcia_init(struct ssb_bus *bus);
 extern const struct ssb_bus_ops ssb_pcmcia_ops;
 #else /* CONFIG_SSB_PCMCIAHOST */
-static inline int ssb_pcmcia_switch_core(struct ssb_bus *bus,
-                                        struct ssb_device *dev)
-{
-       return 0;
-}
 static inline int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus,
                                            u8 coreidx)
 {