iio: at91: fix dev var name in at91_adc_trigger_handler
Subsystems (2)
PATCH 1/1 iio: at91: fix dev var name in at91_adc_trigger_handler
/opt/work/linux-2.6/drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_handler':/opt/work/linux-2.6/drivers/iio/adc/at91_adc.c:83:22: error: 'indio_dev' undeclared (first use in this function) /opt/work/linux-2.6/drivers/iio/adc/at91_adc.c:83:22: note: each undeclared identifier is reported only once for each function it appears in
--- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/at91_adc.c +1 -1
@@ -80,7 +80,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p) *timestamp = pf->timestamp; } -iio_push_to_buffers (indio_dev, (u8 *)st->buffer); +iio_push_to_buffers (idev, (u8 *)st->buffer);iio_trigger_notify_done (idev->trig);
Signature · 1 line
1.7.10.4
Jonathan Cameron
maintainerPATCH 1/1 iio: at91: fix dev var name in at91_adc_trigger_handler
Quoted 6 lines · Jean-Christophe PLAGNIOL-VILLARD
/opt/work/linux-2.6/drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_handler':/opt/work/linux-2.6/drivers/iio/adc/at91_adc.c:83:22: error: 'indio_dev' undeclared (first use in this function)/opt/work/linux-2.6/drivers/iio/adc/at91_adc.c:83:22: note: each undeclared identifier is reported only once for each function it appears inSigned-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>Cc linux-iio at vger.kernel.org
oops. sorry about that. Added to fixes-togreg branch ofgit://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
Quoted 18 lines
--- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/adc/at91_adc.c +1
-1@@ -80,7 +80,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p) *timestamp = pf->timestamp; } -iio_push_to_buffers (indio_dev, (u8 *)st->buffer); +iio_push_to_buffers (idev, (u8 *)st->buffer);iio_trigger_notify_done (idev->trig);