Skip to content

Commit

Permalink
staging: rts5139: make some functions static in ms.c and ms_mg.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 10, 2012
1 parent 29b1169 commit 8ce9002
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rts5139/ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -2680,7 +2680,7 @@ static int mspro_set_rw_cmd(struct rts51x_chip *chip, u32 start_sec,
return STATUS_SUCCESS;
}

void mspro_stop_seq_mode(struct rts51x_chip *chip)
static void mspro_stop_seq_mode(struct rts51x_chip *chip)
{
struct ms_info *ms_card = &(chip->ms_card);
int retval;
Expand Down Expand Up @@ -4135,7 +4135,7 @@ void ms_cleanup_work(struct rts51x_chip *chip)
}
}

int ms_power_off_card3v3(struct rts51x_chip *chip)
static int ms_power_off_card3v3(struct rts51x_chip *chip)
{
int retval;

Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/rts5139/ms.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,13 @@
void mspro_polling_format_status(struct rts51x_chip *chip);
void mspro_format_sense(struct rts51x_chip *chip, unsigned int lun);

void mspro_stop_seq_mode(struct rts51x_chip *chip);
int reset_ms_card(struct rts51x_chip *chip);
int ms_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
u16 sector_cnt);
int mspro_format(struct scsi_cmnd *srb, struct rts51x_chip *chip,
int short_data_len, int quick_format);
void ms_free_l2p_tbl(struct rts51x_chip *chip);
void ms_cleanup_work(struct rts51x_chip *chip);
int ms_power_off_card3v3(struct rts51x_chip *chip);
int release_ms_card(struct rts51x_chip *chip);
int ms_delay_write(struct rts51x_chip *chip);

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rts5139/ms_mg.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#ifdef SUPPORT_MAGIC_GATE

int mg_check_int_error(struct rts51x_chip *chip)
static int mg_check_int_error(struct rts51x_chip *chip)
{
u8 value;

Expand Down

0 comments on commit 8ce9002

Please sign in to comment.