[PATCH] drm/bridge: anx6345: Fix compilation breakage on systems without CONFIG_OF

Maxime Ripard maxime at cerno.tech
Wed Nov 13 09:01:26 UTC 2019


On Wed, Nov 13, 2019 at 09:05:42AM +0100, Daniel Vetter wrote:
> On Wed, Nov 13, 2019 at 8:56 AM Maxime Ripard <maxime at cerno.tech> wrote:
> >
> > The driver assumes that the platform uses the device tree, and thus relies
> > on some fields (of_node) being declared in some structures (drm_bridge).
> >
> > This isn't true for all platforms, so make sure we can only compile the
> > ANX6345 on platforms where DT support is selected.
> >
> > Cc: Torsten Duwe <duwe at lst.de>
> > Fixes: 6aa192698089 ("drm/bridge: Add Analogix anx6345 support")
> > Signed-off-by: Maxime Ripard <maxime at cerno.tech>
>
> Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Pushed, thanks

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191113/df871582/attachment-0001.sig>


More information about the dri-devel mailing list