aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/ltr501.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/ltr501.c')
-rw-r--r--drivers/iio/light/ltr501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c
index 809a961b9a7f..6bf89d8f3741 100644
--- a/drivers/iio/light/ltr501.c
+++ b/drivers/iio/light/ltr501.c
@@ -180,7 +180,7 @@ static const struct ltr501_samp_table ltr501_ps_samp_table[] = {
180 {500000, 2000000} 180 {500000, 2000000}
181}; 181};
182 182
183static unsigned int ltr501_match_samp_freq(const struct ltr501_samp_table *tab, 183static int ltr501_match_samp_freq(const struct ltr501_samp_table *tab,
184 int len, int val, int val2) 184 int len, int val, int val2)
185{ 185{
186 int i, freq; 186 int i, freq;