Skip to contentSkip to conversation

drm: Include missing header

PATCH New Bo Liu 1 participant 1 message Oct 27, 2022

Subsystems (2)
lore
Share & tools
lore

Bo Liu

author
#0 lore raw

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]

---
 drivers/gpu/drm/drm_nomodeset.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_nomodeset.c +1 -0
index f3978d5bd3a1..9402deb4985f 100644
@@ -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