]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 4 Nov 2024 13:35:34 +0000 (14:35 +0100)
commita88f9ed63b3cec761b04cba8104b2d0b2b66b25d
tree7faebd0e2954ab6a6258806ae6ddde9bab47aa1c
parentc5f3f21728b069412e8072b8b1d0a3d9d3ab0265
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>
Link: https://patchwork.freedesktop.org/patch/msgid/20241028163527.2425783-1-arnd@kernel.org
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/imx/dcss/dcss-kms.c