Commit 7b1647bc authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Kalle Valo

ssb: make ssb_sdio_switch_core static

It's used locally only.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 44f3fd27
...@@ -200,7 +200,7 @@ int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) ...@@ -200,7 +200,7 @@ int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx)
} }
/* host must be already claimed */ /* host must be already claimed */
int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev)
{ {
u8 coreidx = dev->core_index; u8 coreidx = dev->core_index;
u32 sbaddr; u32 sbaddr;
......
...@@ -132,7 +132,6 @@ extern int ssb_sdio_get_invariants(struct ssb_bus *bus, ...@@ -132,7 +132,6 @@ extern int ssb_sdio_get_invariants(struct ssb_bus *bus,
struct ssb_init_invariants *iv); struct ssb_init_invariants *iv);
extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset); extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset);
extern int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev);
extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx); extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx);
extern int ssb_sdio_hardware_setup(struct ssb_bus *bus); extern int ssb_sdio_hardware_setup(struct ssb_bus *bus);
extern void ssb_sdio_exit(struct ssb_bus *bus); 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,11 +143,6 @@ static inline u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset)
{ {
return 0; return 0;
} }
static inline int ssb_sdio_switch_core(struct ssb_bus *bus,
struct ssb_device *dev)
{
return 0;
}
static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx)
{ {
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment