[PATCH v5 2/3] drm/bridge: Drop conditionals around of_node pointers

Doug Anderson dianders at chromium.org
Wed Aug 30 19:51:31 UTC 2023


Hi,

On Wed, Aug 30, 2023 at 10:08 AM Biju Das <biju.das.jz at bp.renesas.com> wrote:
>
> The commit c9e358dfc4a8 ("driver-core: remove conditionals around
> devicetree pointers") supposed to remove conditionals around of_node
> pointer, but it missed out drm/bridge.h. So drop #if conditionals by
> adding struct device_node forward declaration.
>
> Suggested-by: Douglas Anderson <dianders at chromium.org>
> Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
> ---
> v5:
>  * Split from patch#2
>  * Updated commit description
>  * Added struct device_node forward declaration.
> ---
>  include/drm/drm_bridge.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Douglas Anderson <dianders at chromium.org>


More information about the dri-devel mailing list