[PATCH] drm/bochs: Explicitly include linux/module.h

Michel Dänzer michel at daenzer.net
Wed Apr 13 16:12:59 UTC 2022


From: Michel Dänzer <mdaenzer at redhat.com>

Instead of relying on it getting pulled in indirectly.

Signed-off-by: Michel Dänzer <mdaenzer at redhat.com>
---
 drivers/gpu/drm/tiny/bochs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tiny/bochs.c b/drivers/gpu/drm/tiny/bochs.c
index ed971c8bb446..4f8bf86633df 100644
--- a/drivers/gpu/drm/tiny/bochs.c
+++ b/drivers/gpu/drm/tiny/bochs.c
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <linux/module.h>
 #include <linux/pci.h>
 
 #include <drm/drm_aperture.h>
-- 
2.35.1



More information about the dri-devel mailing list