diff options
author | Biju Das <[email protected]> | 2023-08-31 09:09:36 +0100 |
---|---|---|
committer | Douglas Anderson <[email protected]> | 2023-09-06 08:32:37 -0700 |
commit | d8dfccde2709de4327c3d62b50e5dc012f08836f (patch) | |
tree | b98917ba0c80b0e15b2736c070c9574c9d5cdd0b /scripts/gdb/linux/utils.py | |
parent | 39e0b96d61b6f5ad880d9953dc2b4c5b3ee145b3 (diff) |
drm/bridge: Drop conditionals around of_node pointers
This patch is based on commit c9e358dfc4a8 ("driver-core: remove
conditionals around devicetree pointers").
Having conditional around the of_node pointer of the drm_bridge
structure turns out to make driver code use ugly #ifdef blocks. Drop the
conditionals to simplify drivers. While this slightly increases the size
of struct drm_bridge on non-OF system, the number of bridges used today
and foreseen tomorrow on those systems is very low, so this shouldn't be
an issue.
So drop #if conditionals by adding struct device_node forward declaration.
Suggested-by: Douglas Anderson <[email protected]>
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions