]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5c73m3: remove duplicate module device table
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 Jan 2016 14:23:51 +0000 (12:23 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 12:13:19 +0000 (10:13 -0200)
commit9616346941624fbb2d7d1c550aadec67e7ca0e41
tree64a5ae84c81cca3a3888491f79d55b6ffa523aa7
parent0f22833e63c1b56c91959491bada7d5ea86205c9
[media] s5c73m3: remove duplicate module device table

Clang complains about an extraneous definition of the module
device table after the patch to add it was accidentally merged
twice:

../drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:1: error: redefinition of
      '__mod_of__s5c73m3_spi_ids_device_table'
MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids);
^
../include/linux/module.h:223:27: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern const typeof(name) __mod_##type##__##name##_device_table         \
                          ^
<scratch space>:99:1: note: expanded from here
__mod_of__s5c73m3_spi_ids_device_table

This removes the second definition.

Fixes: 2a6aade2b947 ("[media] s5c73m3: Export OF module alias information")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/s5c73m3/s5c73m3-spi.c