]> git.karo-electronics.de Git - linux-beck.git/commit
iio: accel: mma7660: fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 24 Sep 2016 12:01:54 +0000 (12:01 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 24 Sep 2016 15:25:34 +0000 (16:25 +0100)
commit1b14adcaf659d988adccda778f286d2be628a1e6
tree24347d34b8c33d3dad22ab1a26336cedc1ae40b6
parent44c5ba96ec1083b7694a88fd99c3012213314b82
iio: accel: mma7660: fix non static symbol warning

Fixes the following sparse warning:

drivers/iio/accel/mma7660.c:42:11: warning:
 symbol 'mma7660_nscale' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma7660.c