[media] media: ti-vpe: vpe: Added MODULE_DEVICE_TABLE hint
authorBenoit Parrot <bparrot@ti.com>
Fri, 18 Nov 2016 23:20:30 +0000 (21:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 10:02:42 +0000 (08:02 -0200)
ti_vpe module currently does not get loaded automatically.
Added MODULE_DEVICE_TABLE hint to the driver to assist.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/ti-vpe/vpe.c

index d3412accf5645880c7404eaec79273d831d821f8..05b793595ce9beac3f4e068cefbd78032aec3647 100644 (file)
@@ -2447,6 +2447,7 @@ static const struct of_device_id vpe_of_match[] = {
        },
        {},
 };
+MODULE_DEVICE_TABLE(of, vpe_of_match);
 #endif
 
 static struct platform_driver vpe_pdrv = {