drm: Include missing header
Subsystems (2)
PATCH 1/1 drm: Include missing header
The file drm_nomodeset.c missed the header drm_drv.h, which resulted on the following warning:
drivers/gpu/drm/drm_nomodeset.c:8:6:
warning: no previous prototype for 'drm_firmware_drivers_only' [-Wmissing-prototypes]
Signed-off-by Bo Liu <[email protected]>
--- drivers/gpu/drm/drm_nomodeset.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_nomodeset.c +1 -0
@@ -2,6 +2,7 @@#include <linux/module.h> #include <linux/types.h> +#include <drm/drm_drv.h> static bool drm_nomodeset;
Signature · 1 line
2.27.0