From: Greg Kroah-Hartman Date: Wed, 5 May 2010 05:28:37 +0000 (-0700) Subject: Staging: iio: adc: max1363_ring.c: fix up sparse warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=acbbfe236eb6fa25fdfb2a8762d0ad260f6b667c;p=openwrt%2Fstaging%2Fblogic.git Staging: iio: adc: max1363_ring.c: fix up sparse warnings Cc: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/adc/max1363_ring.c b/drivers/staging/iio/adc/max1363_ring.c index 85fde751a154..c8aa01109ec2 100644 --- a/drivers/staging/iio/adc/max1363_ring.c +++ b/drivers/staging/iio/adc/max1363_ring.c @@ -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;