mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
media: ov5693: add ov5693_of_match, dts support
Add ov5693_of_match. Device tree support Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Daniel Scally <djrscally@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
6b9ab6ab7d
commit
109670df7d
@ -1533,10 +1533,17 @@ static const struct acpi_device_id ov5693_acpi_match[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, ov5693_acpi_match);
|
||||
|
||||
static const struct of_device_id ov5693_of_match[] = {
|
||||
{ .compatible = "ovti,ov5693", },
|
||||
{ /* sentinel */ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, ov5693_of_match);
|
||||
|
||||
static struct i2c_driver ov5693_driver = {
|
||||
.driver = {
|
||||
.name = "ov5693",
|
||||
.acpi_match_table = ov5693_acpi_match,
|
||||
.of_match_table = ov5693_of_match,
|
||||
.pm = &ov5693_pm_ops,
|
||||
},
|
||||
.probe_new = ov5693_probe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user