Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] s5c73m3-spi: fix compilation breakage when compiled as Module

commit f934a94bb566a629b7e0be52d087a686145d1f14 ('s5c73m3: Export OF
module alias information') broke compilation when compiled as module:

In file included from drivers/media/i2c/s5c73m3/s5c73m3-spi.c:22:0:
drivers/media/i2c/s5c73m3/s5c73m3-spi.c:40:40: error: expected ')' before ';' token
MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids;);
^

Fix it by removing the extra ';'

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

+1 -1
+1 -1
drivers/media/i2c/s5c73m3/s5c73m3-spi.c
··· 37 37 SPI_DIR_RX, 38 38 SPI_DIR_TX 39 39 }; 40 - MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids;); 40 + MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids); 41 41 42 42 static int spi_xmit(struct spi_device *spi_dev, void *addr, const int len, 43 43 enum spi_direction dir)