summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/iio.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/DocBook/iio.tmpl')
-rw-r--r--Documentation/DocBook/iio.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/iio.tmpl b/Documentation/DocBook/iio.tmpl
index f525bf56d1dd..e2ab6a1f223e 100644
--- a/Documentation/DocBook/iio.tmpl
+++ b/Documentation/DocBook/iio.tmpl
@@ -594,7 +594,7 @@
irqreturn_t sensor_iio_pollfunc(int irq, void *p)
{
- pf->timestamp = iio_get_time_ns();
+ pf->timestamp = iio_get_time_ns((struct indio_dev *)p);
return IRQ_WAKE_THREAD;
}