diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2014-06-30 11:29:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-07 14:29:49 +0200 |
commit | fb123a6b6b893e8461c17a6d068fd6e1671cf0de (patch) | |
tree | 81099c10c65cb25a0b4df53782380d644e3f3173 /drivers/iio/common/hid-sensors | |
parent | iio: st_sensors: add device tree bindings (diff) | |
download | linux-fb123a6b6b893e8461c17a6d068fd6e1671cf0de.tar.xz linux-fb123a6b6b893e8461c17a6d068fd6e1671cf0de.zip |
iio: hid-sensors: make hid_sensor_get_reporting_interval static
This fixes the following sparse warning:
CHECK drivers/iio/common/hid-sensors/hid-sensor-attributes.c
drivers/iio/common/hid-sensors/hid-sensor-attributes.c:346:5: warning:
symbol 'hid_sensor_get_reporting_interval' was not declared. Should it be static?
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common/hid-sensors')
-rw-r--r-- | drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c index 1614340e5733..25b01e156d82 100644 --- a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c +++ b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c @@ -343,6 +343,7 @@ int hid_sensor_format_scale(u32 usage_id, } EXPORT_SYMBOL(hid_sensor_format_scale); +static int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, u32 usage_id, struct hid_sensor_common *st) |