diff options
-rw-r--r-- | drivers/ssb/sdio.c | 2 | ||||
-rw-r--r-- | drivers/ssb/ssb_private.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/ssb/sdio.c b/drivers/ssb/sdio.c index b2d36f7736c5..2278e43614bd 100644 --- a/drivers/ssb/sdio.c +++ b/drivers/ssb/sdio.c | |||
@@ -200,7 +200,7 @@ out: | |||
200 | } | 200 | } |
201 | 201 | ||
202 | /* host must be already claimed */ | 202 | /* host must be already claimed */ |
203 | int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) | 203 | static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) |
204 | { | 204 | { |
205 | u8 coreidx = dev->core_index; | 205 | u8 coreidx = dev->core_index; |
206 | u32 sbaddr; | 206 | u32 sbaddr; |
diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h index eb507a50a564..1d2256e35138 100644 --- a/drivers/ssb/ssb_private.h +++ b/drivers/ssb/ssb_private.h | |||
@@ -132,7 +132,6 @@ extern int ssb_sdio_get_invariants(struct ssb_bus *bus, | |||
132 | struct ssb_init_invariants *iv); | 132 | struct ssb_init_invariants *iv); |
133 | 133 | ||
134 | extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset); | 134 | extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset); |
135 | extern int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev); | ||
136 | extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx); | 135 | extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx); |
137 | extern int ssb_sdio_hardware_setup(struct ssb_bus *bus); | 136 | extern int ssb_sdio_hardware_setup(struct ssb_bus *bus); |
138 | extern void ssb_sdio_exit(struct ssb_bus *bus); | 137 | extern void ssb_sdio_exit(struct ssb_bus *bus); |
@@ -144,11 +143,6 @@ static inline u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) | |||
144 | { | 143 | { |
145 | return 0; | 144 | return 0; |
146 | } | 145 | } |
147 | static inline int ssb_sdio_switch_core(struct ssb_bus *bus, | ||
148 | struct ssb_device *dev) | ||
149 | { | ||
150 | return 0; | ||
151 | } | ||
152 | static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) | 146 | static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) |
153 | { | 147 | { |
154 | return 0; | 148 | return 0; |