Commit f8c8ac81 authored by Ben Dooks's avatar Ben Dooks Committed by Ben Dooks

[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: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 2a96ad05
...@@ -100,7 +100,7 @@ static void s3c_adc_dbgshow(struct adc_device *adc) ...@@ -100,7 +100,7 @@ static void s3c_adc_dbgshow(struct adc_device *adc)
readl(adc->regs + S3C2410_ADCDLY)); readl(adc->regs + S3C2410_ADCDLY));
} }
void s3c_adc_try(struct adc_device *adc) static void s3c_adc_try(struct adc_device *adc)
{ {
struct s3c_adc_client *next = adc->ts_pend; struct s3c_adc_client *next = adc->ts_pend;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment