media: spi: IR LED: add missing of table registration
authorDaniel Gomez <dagmcr@gmail.com>
Mon, 22 Apr 2019 19:10:20 +0000 (15:10 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 22 May 2019 19:27:37 +0000 (15:27 -0400)
commit24e4cf770371df6ad49ed873f21618d9878f64c8
tree8018fd6edfd2d94c956ee0b129cff2c42f943568
parent4a0bbf4815f168b2097d394257eef052c0ea928a
media: spi: IR LED: add missing of table registration

MODULE_DEVICE_TABLE(of, <of_match_table> should be called to complete DT
OF mathing mechanism and register it.

Before this patch:
modinfo drivers/media/rc/ir-spi.ko  | grep alias

After this patch:
modinfo drivers/media/rc/ir-spi.ko  | grep alias
alias:          of:N*T*Cir-spi-ledC*
alias:          of:N*T*Cir-spi-led

Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/ir-spi.c