]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
Staging: iio: adc: max1363_ring.c: fix up sparse warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 May 2010 05:28:37 +0000 (22:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:10 +0000 (11:36 -0700)
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/max1363_ring.c

index 85fde751a154e7769ff02cb353512ad603e64955..c8aa01109ec2a7c7314282c5aa5662d08de026ef 100644 (file)
@@ -142,7 +142,7 @@ static int max1363_ring_predisable(struct iio_dev *indio_dev)
  * then.  Some triggers will generate their own time stamp.  Currently
  * there is no way of notifying them when no one cares.
  **/
-void max1363_poll_func_th(struct iio_dev *indio_dev)
+static void max1363_poll_func_th(struct iio_dev *indio_dev)
 {
        struct max1363_state *st = indio_dev->dev_data;