diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-04-17 07:36:49 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-04-17 07:42:25 -0400 |
commit | f8c8ac8109ecdd3583b0ac9fd3adf058678a802e (patch) | |
tree | 20c5b4eb74917df074b20befd1a3a3071444b264 /arch/arm/plat-s3c24xx | |
parent | 2a96ad05e93be75398871a2fce932ed234d03112 (diff) |
[ARM] S3C: Fix ADC driver sparse warning
The symbol 's3c_adc_try' in arch/arm/plat-s3c24xx/adc.c
does not need to be exported and thus should be static.
This fixes the following sparse warning:
adc.c:103:6: warning: symbol 's3c_adc_try' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c index 9a5c767e0a42..bc6f6a14dd12 100644 --- a/arch/arm/plat-s3c24xx/adc.c +++ b/arch/arm/plat-s3c24xx/adc.c | |||
@@ -100,7 +100,7 @@ static void s3c_adc_dbgshow(struct adc_device *adc) | |||
100 | readl(adc->regs + S3C2410_ADCDLY)); | 100 | readl(adc->regs + S3C2410_ADCDLY)); |
101 | } | 101 | } |
102 | 102 | ||
103 | void s3c_adc_try(struct adc_device *adc) | 103 | static void s3c_adc_try(struct adc_device *adc) |
104 | { | 104 | { |
105 | struct s3c_adc_client *next = adc->ts_pend; | 105 | struct s3c_adc_client *next = adc->ts_pend; |
106 | 106 | ||