Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Daniel Baluta and committed by
Jonathan Cameron
fb123a6b 0599173e

+1
+1
drivers/iio/common/hid-sensors/hid-sensor-attributes.c
··· 343 343 } 344 344 EXPORT_SYMBOL(hid_sensor_format_scale); 345 345 346 + static 346 347 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, 347 348 u32 usage_id, 348 349 struct hid_sensor_common *st)