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

2019-11-14 Thread Maxime Ripard
On Wed, Nov 13, 2019 at 09:05:42AM +0100, Daniel Vetter wrote: > On Wed, Nov 13, 2019 at 8:56 AM Maxime Ripard 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

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

2019-11-13 Thread Daniel Vetter
On Wed, Nov 13, 2019 at 8:56 AM Maxime Ripard 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

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

2019-11-12 Thread Maxime Ripard
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 Fixes: