mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE
This fixes autoloading the module by the OF compatible string.
Fixes: 83c40e6611
("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>
This commit is contained in:
parent
173f6eacc8
commit
08aac0e32f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user