staging: rts5139: make some functions static in sd.*
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ff4ff54a1
commit
6b75717994
|
@ -704,7 +704,7 @@ int sd_select_card(struct rts51x_chip *chip, int select)
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sd_wait_currentstate_dataready(struct rts51x_chip *chip, u8 statechk,
|
static int sd_wait_currentstate_dataready(struct rts51x_chip *chip, u8 statechk,
|
||||||
u8 rdychk, u16 pollingcnt)
|
u8 rdychk, u16 pollingcnt)
|
||||||
{
|
{
|
||||||
struct sd_info *sd_card = &(chip->sd_card);
|
struct sd_info *sd_card = &(chip->sd_card);
|
||||||
|
@ -2885,7 +2885,7 @@ static int wait_data_buf_ready(struct rts51x_chip *chip)
|
||||||
TRACE_RET(chip, STATUS_FAIL);
|
TRACE_RET(chip, STATUS_FAIL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sd_stop_seq_mode(struct rts51x_chip *chip)
|
static void sd_stop_seq_mode(struct rts51x_chip *chip)
|
||||||
{
|
{
|
||||||
struct sd_info *sd_card = &(chip->sd_card);
|
struct sd_info *sd_card = &(chip->sd_card);
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -3179,7 +3179,7 @@ void sd_cleanup_work(struct rts51x_chip *chip)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void sd_fill_power_off_card3v3(struct rts51x_chip *chip)
|
static inline void sd_fill_power_off_card3v3(struct rts51x_chip *chip)
|
||||||
{
|
{
|
||||||
rts51x_add_cmd(chip, WRITE_REG_CMD, CARD_CLK_EN, SD_CLK_EN, 0);
|
rts51x_add_cmd(chip, WRITE_REG_CMD, CARD_CLK_EN, SD_CLK_EN, 0);
|
||||||
|
|
||||||
|
@ -3201,7 +3201,7 @@ inline void sd_fill_power_off_card3v3(struct rts51x_chip *chip)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int sd_power_off_card3v3(struct rts51x_chip *chip)
|
static int sd_power_off_card3v3(struct rts51x_chip *chip)
|
||||||
{
|
{
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
|
|
|
@ -259,11 +259,9 @@ struct timing_phase_path {
|
||||||
int sd_select_card(struct rts51x_chip *chip, int select);
|
int sd_select_card(struct rts51x_chip *chip, int select);
|
||||||
int reset_sd_card(struct rts51x_chip *chip);
|
int reset_sd_card(struct rts51x_chip *chip);
|
||||||
int sd_switch_clock(struct rts51x_chip *chip);
|
int sd_switch_clock(struct rts51x_chip *chip);
|
||||||
void sd_stop_seq_mode(struct rts51x_chip *chip);
|
|
||||||
int sd_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
|
int sd_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
|
||||||
u16 sector_cnt);
|
u16 sector_cnt);
|
||||||
void sd_cleanup_work(struct rts51x_chip *chip);
|
void sd_cleanup_work(struct rts51x_chip *chip);
|
||||||
int sd_power_off_card3v3(struct rts51x_chip *chip);
|
|
||||||
int release_sd_card(struct rts51x_chip *chip);
|
int release_sd_card(struct rts51x_chip *chip);
|
||||||
|
|
||||||
#ifdef SUPPORT_CPRM
|
#ifdef SUPPORT_CPRM
|
||||||
|
|
Loading…
Reference in New Issue