diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-08 16:59:29 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-08 23:28:25 +0300 |
commit | 630e7ab470498f671cea00301f21246333fba2fa (patch) | |
tree | 627a9f605684418d3f42fc9a8d38f5d69afeed8e /drivers/iio/gyro/adis16136.c | |
parent | c266cda29ae647290042eb0f75723762b193f984 (diff) | |
download | linux-630e7ab470498f671cea00301f21246333fba2fa.tar.xz |
iio: gyro: mpu3050: remove duplicate initializer
The newly added mpu3050 driver has two initializations for the
module owner, which causes a warning for 'make W=1':
include/linux/export.h:37:21: error: initialized field overwritten [-Werror=override-init]
drivers/iio/gyro/mpu3050-core.c:749:19: note: in expansion of macro 'THIS_MODULE'
This removes one of the two.
Fixes: 3904b28efb2c ("iio: gyro: Add driver for the MPU-3050 gyroscope")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro/adis16136.c')
0 files changed, 0 insertions, 0 deletions