aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tiny
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2022-04-13 18:12:59 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-06-09 07:30:12 +0200
commit430ac054e5ea172a880e07da494f65f0b80d8fb8 (patch)
tree747e3f598c56d9cdc78a4470b2b5e1880da9dc65 /drivers/gpu/drm/tiny
parentvirtio-gpu: fix a missing check to avoid NULL dereference (diff)
downloadlinux-dev-430ac054e5ea172a880e07da494f65f0b80d8fb8.tar.xz
linux-dev-430ac054e5ea172a880e07da494f65f0b80d8fb8.zip
drm/bochs: Explicitly include linux/module.h
Instead of relying on it getting pulled in indirectly. Signed-off-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20220413161259.1854270-1-michel@daenzer.net Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/tiny')
-rw-r--r--drivers/gpu/drm/tiny/bochs.c1
1 files changed, 1 insertions, 0 deletions
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>