]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: hid-sensors: Fix compilation warning
authorSachin Kamat <sachin.kamat@samsung.com>
Fri, 7 Mar 2014 07:44:00 +0000 (07:44 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 23 Feb 2017 03:54:29 +0000 (03:54 +0000)
commit0f1ce2b97e907a4b2ee4865222757b0119c5cdac
tree78cab1b0fe85736942d195836d05ec5ccc3ff04e
parentd776b0380d58978b41806e497dc7338968731db9
iio: hid-sensors: Fix compilation warning

commit a034234277d2f51104deadd559dd9584ba00a8cc upstream.

Move the 'static' keyword to beginning of definition to silence the
following compilation warning:
drivers/iio/common/hid-sensors/hid-sensor-attributes.c:34:1: warning: â€˜static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/iio/common/hid-sensors/hid-sensor-attributes.c