mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
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>
This commit is contained in:
parent
fd3ae7a9f2
commit
ebd1636606
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user