diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-10 16:00:33 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 09:39:57 +0200 |
commit | 2d13621c6b7b5290c8114c8c33e8e66297ce26bf (patch) | |
tree | 3dcc831c67cb6029b3782942f81fd0f8df86efe2 /drivers/hwmon/lm95234.c | |
parent | dd2dbf3cbd3f091f20860586f1115eb0fa513d5d (diff) |
media: i2c: ov7670: Drop CONFIG_OF ifdeffery
Drop of_match_ptr() from ov7670_driver and get rid of ugly CONFIG_OF
if check. This slightly increases the size of ov7670_driver on non-OF
system and shouldn't be an issue.
Add mod_devicetable.h include.
It also allows, in case if needed, to enumerate this device via ACPI with
PRP0001 magic.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/hwmon/lm95234.c')
0 files changed, 0 insertions, 0 deletions