]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5c73m3-spi: fix compilation breakage when compiled as Module
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 18 Nov 2015 18:46:33 +0000 (16:46 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 18 Nov 2015 18:49:18 +0000 (16:49 -0200)
commitdecdf32ec668476fec506101c65bb046578915d0
treec0c1677058762a08e58f3387cabc8d60b056e4b9
parente8946b52eacc4b35062b8b0616fb34cee417d489
[media] s5c73m3-spi: fix compilation breakage when compiled as Module

commit c51231403975ac91b2e98dc19c159e5e87159faf ('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>
drivers/media/i2c/s5c73m3/s5c73m3-spi.c