summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-12-13 00:28:52 +0800
committerJonathan Cameron <jic23@kernel.org>2014-12-12 18:14:59 +0000
commitebd163660675534dd5f27c8d3fa426b8253a98f4 (patch)
treefe97305f7dbd013dbe95621932d580033d96cd9d /drivers/iio/imu
parentfd3ae7a9f21c2a51a1d220bc7a7c3b45ab5e6ad1 (diff)
downloadlinux-ebd163660675534dd5f27c8d3fa426b8253a98f4.tar.gz
linux-ebd163660675534dd5f27c8d3fa426b8253a98f4.tar.bz2
linux-ebd163660675534dd5f27c8d3fa426b8253a98f4.zip
iio: imu: kmx61: kmx61_set_wake_up_odr() can be static
drivers/iio/imu/kmx61.c:422:5: sparse: symbol 'kmx61_set_wake_up_odr' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r--drivers/iio/imu/kmx61.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c
index bda9c40c020b..9b32f012ca0f 100644
--- a/drivers/iio/imu/kmx61.c
+++ b/drivers/iio/imu/kmx61.c
@@ -419,7 +419,7 @@ static int kmx61_get_mode(struct kmx61_data *data, u8 *mode, u8 device)
return 0;
}
-int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2)
+static int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2)
{
int ret, odr_bits;