drm/msm: add missing include to msm_drv.c
PATCH v2 1/1 drm/msm: add missing include to msm_drv.c
Add explicit include of drm_bridge.h to the msm_drv.c to fix the following warning:
drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'? [-Werror=implicit-function-declaration]
Fixes d28ea556267c ("drm/msm: properly add and remove internal bridges")
Reported-by kernel test robot <[email protected]>
Signed-off-by Dmitry Baryshkov <[email protected]>
Reviewed-by Abhinav Kumar <[email protected]>
Signed-off-by Dmitry Baryshkov <[email protected]>
---
Changes since v1:
- Fixed file name in the commit message.
--- drivers/gpu/drm/msm/msm_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/msm_drv.c +1 -0
@@ -11,6 +11,7 @@#include <linux/uaccess.h> #include <uapi/linux/sched/types.h> +#include <drm/drm_bridge.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> #include <drm/drm_ioctl.h>
Signature · 1 line
2.35.1