projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3ae7a
)
iio: imu: kmx61: kmx61_set_wake_up_odr() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Fri, 12 Dec 2014 16:28:52 +0000
(
00:28
+0800)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 12 Dec 2014 18:14:59 +0000
(18:14 +0000)
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>
drivers/iio/imu/kmx61.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/imu/kmx61.c
b/drivers/iio/imu/kmx61.c
index bda9c40c020b13321b44643402a02adf6bb7979e..9b32f012ca0fe2076314b5e48cde70ffbf6ad2b8 100644
(file)
--- 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;