iio: adc: at91: make the function handle_adc_eoc_trigger() static
authorJosh Wu <josh.wu@atmel.com>
Wed, 27 Aug 2014 08:31:00 +0000 (09:31 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 30 Aug 2014 09:47:33 +0000 (10:47 +0100)
The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it
static.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c

index 772e869c280ed2c7a275ba3516fa66b997d00379..7807e0ef5b297b3c6ef80a7bb6682ae0843ea9b1 100644 (file)
@@ -266,7 +266,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
 }
 
 /* Handler for classic adc channel eoc trigger */
-void handle_adc_eoc_trigger(int irq, struct iio_dev *idev)
+static void handle_adc_eoc_trigger(int irq, struct iio_dev *idev)
 {
        struct at91_adc_state *st = iio_priv(idev);