diff options
author | wwang <wei_wang@realsil.com.cn> | 2011-02-16 07:56:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 20:31:29 (GMT) |
commit | 6680d2cab316a0c0e4cea0727e6d63426a77bb12 (patch) | |
tree | 6ad0af62c14488e769d9ae1520c89c4b569c8211 /drivers/staging/rts_pstor/spi.c | |
parent | 7eb90a3682fc42c5607cff931e5d0f6a9d52dc03 (diff) | |
download | linux-fsl-qoriq-6680d2cab316a0c0e4cea0727e6d63426a77bb12.tar.xz |
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/spi.c')
-rw-r--r-- | drivers/staging/rts_pstor/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/spi.c b/drivers/staging/rts_pstor/spi.c index e068200..8a8689b 100644 --- a/drivers/staging/rts_pstor/spi.c +++ b/drivers/staging/rts_pstor/spi.c @@ -221,7 +221,7 @@ static int spi_init_eeprom(struct rtsx_chip *chip) return STATUS_SUCCESS; } -int spi_eeprom_program_enable(struct rtsx_chip *chip) +static int spi_eeprom_program_enable(struct rtsx_chip *chip) { int retval; |