Skip to content

Commit

Permalink
ssb: make ssb_pcmcia_switch_core static
Browse files Browse the repository at this point in the history
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Rafał Miłecki authored and Kalle Valo committed Sep 29, 2015
1 parent 264c770 commit cf75496
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions drivers/ssb/pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus,
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;

Expand Down
7 changes: 0 additions & 7 deletions drivers/ssb/ssb_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
{
Expand Down

0 comments on commit cf75496

Please sign in to comment.