Skip to contentSkip to conversation

media: ti-vpe: vpe: Added MODULE_DEVICE_TABLE hint

PATCH Superseded Benoit Parrot 2 participants 2 messages Sep 28, 2016 – Oct 24, 2016 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 20/35 media: ti-vpe: vpe: Added MODULE_DEVICE_TABLE hint

ti_vpe module currently does not get loaded automatically. Added MODULE_DEVICE_TABLE hint to the driver to assist.

---
 drivers/media/platform/ti-vpe/vpe.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/platform/ti-vpe/vpe.c +1 -0
index a43dcac0b15e..57d19ad6d4a5 100644
@@ -2448,6 +2448,7 @@ static const struct of_device_id vpe_of_match[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, vpe_of_match);
 #endif
 
 static struct platform_driver vpe_pdrv = {
Signature · 1 line
2.9.0