Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 203e942d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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



commit f934a94b ('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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 769b6409
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ enum spi_direction {
	SPI_DIR_RX,
	SPI_DIR_TX
};
MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids;);
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)