diff options
| author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-10 18:00:33 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:39:57 +0300 |
| commit | 2d13621c6b7b5290c8114c8c33e8e66297ce26bf (patch) | |
| tree | 3dcc831c67cb6029b3782942f81fd0f8df86efe2 /include/linux/console_struct.h | |
| parent | dd2dbf3cbd3f091f20860586f1115eb0fa513d5d (diff) | |
| download | linux-2d13621c6b7b5290c8114c8c33e8e66297ce26bf.tar.xz | |
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 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
