Re: [PATCH v2] media: hi846: depend on OF

From: Sakari Ailus
Date: Tue Oct 19 2021 - 08:27:55 EST


Hi Martin,

On Mon, Oct 18, 2021 at 03:42:46PM +0200, Martin Kepplinger wrote:
> Since other device enumerate mechanisms are currently not implemented,
> make the hi846 sensor driver depend on CONFIG_OF.

As far as I understand, this should work on ACPI based systems with just
of_match_ptr() macro removed.

In any case, linux/of_graph.h header should be replaced with
linux/property.h.

How about that instead?

--
Kind regards,

Sakari Ailus