drm/imx/dcss: include drm/drm_bridge.h header
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 Oct 2024 16:35:07 +0000 (16:35 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Nov 2024 03:46:25 +0000 (13:46 +1000)
commitbcfe43f0ea77c42c2154fb79b99b7d1d82ac3231
tree3ecd30faac28dd266cca42557424cb90960431fb
parent8a07b2623e7ff04856f8d4470d002675049b2065
drm/imx/dcss: include drm/drm_bridge.h header

Compile-testing random configurations leads to failures in
dcss-kms.c from a missing declaration:

drivers/gpu/drm/imx/dcss/dcss-kms.c:95:8: error: use of undeclared identifier 'drm_bridge_attach'
   95 |         ret = drm_bridge_attach(encoder, bridge, NULL,
      |               ^
drivers/gpu/drm/imx/dcss/dcss-kms.c:96:5: error: use of undeclared identifier 'DRM_BRIDGE_ATTACH_NO_CONNECTOR'
   96 |                                 DRM_BRIDGE_ATTACH_NO_CONNECTOR);
      |                                 ^

Include the header directly.

Fixes: 004555a18d57 ("drm/imx/dcss: Allow build with COMPILE_TEST=y")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241028163527.2425783-1-arnd@kernel.org
drivers/gpu/drm/imx/dcss/dcss-kms.c