From: Benoit Parrot Date: Fri, 18 Nov 2016 23:20:30 +0000 (-0200) Subject: [media] media: ti-vpe: vpe: Added MODULE_DEVICE_TABLE hint X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e228467caa6eb18db05c0ca62e852bba47d08f58;p=linux-beck.git [media] 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. Signed-off-by: Benoit Parrot Reviewed-by: Javier Martinez Canillas Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c index d3412accf564..05b793595ce9 100644 --- a/drivers/media/platform/ti-vpe/vpe.c +++ b/drivers/media/platform/ti-vpe/vpe.c @@ -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 = {