summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/s5c73m3
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-13 12:23:51 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 10:13:19 -0200
commitc89f8d47a171243fcac56b136e8526189035f8ee (patch)
tree64a5ae84c81cca3a3888491f79d55b6ffa523aa7 /drivers/media/i2c/s5c73m3
parentc517b35211aed34cb7c78d508a0b9fb209fd60c9 (diff)
downloadop-kernel-dev-c89f8d47a171243fcac56b136e8526189035f8ee.zip
op-kernel-dev-c89f8d47a171243fcac56b136e8526189035f8ee.tar.gz
[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: f934a94bb566 ("[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>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
-rw-r--r--drivers/media/i2c/s5c73m3/s5c73m3-spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
index 7d65b36..72ef9f9 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c
@@ -37,7 +37,6 @@ enum spi_direction {
SPI_DIR_RX,
SPI_DIR_TX
};
-MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids);
static int spi_xmit(struct spi_device *spi_dev, void *addr, const int len,
enum spi_direction dir)
OpenPOWER on IntegriCloud