aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/marvell-ccic
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-07-22 07:33:10 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-25 06:27:14 -0400
commit08aac0e32fe44b0afe67da96b01c5c0aa27c7b67 (patch)
tree5c4b30895831ab7f1e88acc80d4e2d043890c7bf /drivers/media/platform/marvell-ccic
parentmedia: v4l: ctrls: Add debug messages (diff)
downloadlinux-dev-08aac0e32fe44b0afe67da96b01c5c0aa27c7b67.tar.xz
linux-dev-08aac0e32fe44b0afe67da96b01c5c0aa27c7b67.zip
media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE
This fixes autoloading the module by the OF compatible string. Fixes: 83c40e6611ec ("media: marvell-ccic/mmp: add devicetree support") Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/marvell-ccic')
-rw-r--r--drivers/media/platform/marvell-ccic/mmp-driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/marvell-ccic/mmp-driver.c b/drivers/media/platform/marvell-ccic/mmp-driver.c
index 10559492e09e..92b92255dac6 100644
--- a/drivers/media/platform/marvell-ccic/mmp-driver.c
+++ b/drivers/media/platform/marvell-ccic/mmp-driver.c
@@ -372,6 +372,7 @@ static const struct of_device_id mmpcam_of_match[] = {
{ .compatible = "marvell,mmp2-ccic", },
{},
};
+MODULE_DEVICE_TABLE(of, mmpcam_of_match);
static struct platform_driver mmpcam_driver = {
.probe = mmpcam_probe,