Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304573
b: refs/heads/master
c: 60c1530
h: refs/heads/master
i:
  304571: fb9181a
v: v3
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 885cc48 commit 1472555
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63bb174d9c8acdc077dcb99b51c3f8f89bf7de6d
refs/heads/master: 60c1530170008393901f03d018a2f89ad3022a0d
4 changes: 2 additions & 2 deletions trunk/drivers/staging/rts5139/rts51x.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static inline void usb_autopm_disable(struct usb_interface *intf)
usb_autopm_get_interface(intf);
}

void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
static void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
{
RTS51X_DEBUGP("Ready to enter SS state\n");
usb_autopm_enable(chip->usb->pusb_intf);
Expand Down Expand Up @@ -201,7 +201,7 @@ int rts51x_reset_resume(struct usb_interface *iface)

#else /* CONFIG_PM */

void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
static void rts51x_try_to_enter_ss(struct rts51x_chip *chip)
{
}

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/rts5139/rts51x.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ enum xfer_buf_dir { TO_XFER_BUF, FROM_XFER_BUF };

/* General routines provided by the usb-storage standard core */
#ifdef CONFIG_PM
void rts51x_try_to_enter_ss(struct rts51x_chip *chip);
void rts51x_try_to_exit_ss(struct rts51x_chip *chip);
int rts51x_suspend(struct usb_interface *iface, pm_message_t message);
int rts51x_resume(struct usb_interface *iface);
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/rts5139/rts51x_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void do_remaining_work(struct rts51x_chip *chip)
ms_cleanup_work(chip);
}

void do_reset_xd_card(struct rts51x_chip *chip)
static void do_reset_xd_card(struct rts51x_chip *chip)
{
int retval;

Expand Down Expand Up @@ -147,7 +147,7 @@ void do_reset_sd_card(struct rts51x_chip *chip)
}
}

void do_reset_ms_card(struct rts51x_chip *chip)
static void do_reset_ms_card(struct rts51x_chip *chip)
{
int retval;

Expand All @@ -174,7 +174,7 @@ void do_reset_ms_card(struct rts51x_chip *chip)
}
}

void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset,
static void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset,
u8 *need_release)
{
int retval;
Expand Down Expand Up @@ -701,7 +701,7 @@ u8 get_lun_card(struct rts51x_chip *chip, unsigned int lun)
return 0;
}

int card_share_mode(struct rts51x_chip *chip, int card)
static int card_share_mode(struct rts51x_chip *chip, int card)
{
u8 value;

Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/rts5139/rts51x_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -744,17 +744,14 @@
int monitor_card_cd(struct rts51x_chip *chip, u8 card);

void do_remaining_work(struct rts51x_chip *chip);
void do_reset_xd_card(struct rts51x_chip *chip);
void do_reset_sd_card(struct rts51x_chip *chip);
void do_reset_ms_card(struct rts51x_chip *chip);
void rts51x_init_cards(struct rts51x_chip *chip);
void rts51x_release_cards(struct rts51x_chip *chip);
int switch_ssc_clock(struct rts51x_chip *chip, int clk);
int switch_normal_clock(struct rts51x_chip *chip, int clk);
int card_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 sec_addr,
u16 sec_cnt);
u8 get_lun_card(struct rts51x_chip *chip, unsigned int lun);
int card_share_mode(struct rts51x_chip *chip, int card);
int rts51x_select_card(struct rts51x_chip *chip, int card);
void eject_card(struct rts51x_chip *chip, unsigned int lun);
void trans_dma_enable(enum dma_data_direction dir, struct rts51x_chip *chip,
Expand Down

0 comments on commit 1472555

Please sign in to comment.