Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304622
b: refs/heads/master
c: 1db6766
h: refs/heads/master
v: v3
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 10, 2012
1 parent 21af545 commit e2f70fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: b9914e7d863fef232d95fafa8c8fc4393a32148a
refs/heads/master: 1db67664dc9342aee79e5a88f104400d5be42410
6 changes: 4 additions & 2 deletions trunk/drivers/staging/rts5139/xd.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,8 @@ static void xd_set_l2p_tbl(struct rts51x_chip *chip, int zone_no, u16 log_off,
zone->l2p_table[log_off] = phy_off;
}

static int xd_delay_write(struct rts51x_chip *chip);

static u32 xd_get_l2p_tbl(struct rts51x_chip *chip, int zone_no, u16 log_off)
{
struct xd_info *xd_card = &(chip->xd_card);
Expand Down Expand Up @@ -1822,7 +1824,7 @@ static int xd_write_multiple_pages(struct rts51x_chip *chip, u32 old_blk,
TRACE_RET(chip, STATUS_FAIL);
}

int xd_delay_write(struct rts51x_chip *chip)
static int xd_delay_write(struct rts51x_chip *chip)
{
struct xd_info *xd_card = &(chip->xd_card);
struct xd_delay_write_tag *delay_write = &(xd_card->delay_write);
Expand Down Expand Up @@ -2091,7 +2093,7 @@ void xd_cleanup_work(struct rts51x_chip *chip)
}
}

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

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/rts5139/xd.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,10 @@
#define CIS1_9 (256 + 9)

int reset_xd_card(struct rts51x_chip *chip);
int xd_delay_write(struct rts51x_chip *chip);
int xd_rw(struct scsi_cmnd *srb, struct rts51x_chip *chip, u32 start_sector,
u16 sector_cnt);
void xd_free_l2p_tbl(struct rts51x_chip *chip);
void xd_cleanup_work(struct rts51x_chip *chip);
int xd_power_off_card3v3(struct rts51x_chip *chip);
int release_xd_card(struct rts51x_chip *chip);

#endif /* __RTS51X_XD_H */

0 comments on commit e2f70fa

Please sign in to comment.