projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8f17a
)
iio: adc: at91: make the function handle_adc_eoc_trigger() static
author
Josh Wu
<josh.wu@atmel.com>
Wed, 27 Aug 2014 08:31:00 +0000
(09:31 +0100)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/at91_adc.c
b/drivers/iio/adc/at91_adc.c
index 772e869c280ed2c7a275ba3516fa66b997d00379..7807e0ef5b297b3c6ef80a7bb6682ae0843ea9b1 100644
(file)
--- 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);