diff options
author | wwang | 2011-02-16 08:56:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-02-18 21:31:29 +0100 |
commit | 6680d2cab316a0c0e4cea0727e6d63426a77bb12 (patch) | |
tree | 6ad0af62c14488e769d9ae1520c89c4b569c8211 /drivers/staging/rts_pstor/rtsx_card.c | |
parent | staging: rts_pstor: delete a function (diff) | |
download | kernel-qcow2-linux-6680d2cab316a0c0e4cea0727e6d63426a77bb12.tar.gz kernel-qcow2-linux-6680d2cab316a0c0e4cea0727e6d63426a77bb12.tar.xz kernel-qcow2-linux-6680d2cab316a0c0e4cea0727e6d63426a77bb12.zip |
staging: rts_pstor: fix sparse warning
Add static modifier before some functions and global variables.
Signed-off-by: wwang <wei_wang@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor/rtsx_card.c')
-rw-r--r-- | drivers/staging/rts_pstor/rtsx_card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/rtsx_card.c b/drivers/staging/rts_pstor/rtsx_card.c index fe4cce0cce29..4f971f2e930a 100644 --- a/drivers/staging/rts_pstor/rtsx_card.c +++ b/drivers/staging/rts_pstor/rtsx_card.c @@ -300,7 +300,7 @@ void do_reset_ms_card(struct rtsx_chip *chip) } } -void release_sdio(struct rtsx_chip *chip) +static void release_sdio(struct rtsx_chip *chip) { if (chip->sd_io) { rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, |