summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2014-08-27 10:31:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-08-30 11:47:33 +0200
commit3068ab202e637d5e46831a2276c3849d97655192 (patch)
tree0ff8b87ed24c494d73db7434cfcdba07709fff04 /drivers/iio/adc
parentiio: adc: rockchip_saradc: remove unused variable in probe (diff)
downloadlinux-3068ab202e637d5e46831a2276c3849d97655192.tar.xz
linux-3068ab202e637d5e46831a2276c3849d97655192.zip
iio: adc: at91: make the function handle_adc_eoc_trigger() static
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>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/at91_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 772e869c280e..7807e0ef5b29 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -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);