]> git.karo-electronics.de Git - linux-beck.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)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Jul 2014 10:21:09 +0000 (11:21 +0100)
commita034234277d2f51104deadd559dd9584ba00a8cc
tree553865bf7ac422530b3f64d62adecba9260fd349
parentfc96d25ad0dc8cf512d233abdc6a8e097d357d95
iio: hid-sensors: Fix compilation warning

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>
drivers/iio/common/hid-sensors/hid-sensor-attributes.c