diff mbox

[20/35] media: ti-vpe: vpe: Added MODULE_DEVICE_TABLE hint

Message ID 20160928212220.27220-1-bparrot@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Benoit Parrot Sept. 28, 2016, 9:22 p.m. UTC
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>
---
 drivers/media/platform/ti-vpe/vpe.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Javier Martinez Canillas Oct. 24, 2016, 5:12 p.m. UTC | #1
Hello Benoit,

On Wed, Sep 28, 2016 at 5:22 PM, Benoit Parrot <bparrot@ti.com> wrote:
> 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>

Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index a43dcac0b15e..57d19ad6d4a5 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -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 = {