diff options
author | Olaf Hering <olaf@aepfle.de> | 2020-11-06 19:39:41 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-11-09 08:17:46 +0100 |
commit | 34a280831384d7e58327ff0e82e18db8e788107c (patch) | |
tree | 2deb131da9c3430360825dfcd0df5d2bf996de61 /drivers/video | |
parent | 8519873d19120c5046e4124d18a9c09eec20eab9 (diff) | |
download | lwn-34a280831384d7e58327ff0e82e18db8e788107c.tar.gz lwn-34a280831384d7e58327ff0e82e18db8e788107c.zip |
video: hyperv_fb: include vmalloc.h
hvfb_getmem uses vzalloc, therefore vmalloc.h should be included.
Fixes commit d21987d709e807ba7bbf47044deb56a3c02e8be4 ("video: hyperv:
hyperv_fb: Support deferred IO for Hyper-V frame buffer driver")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201106183941.9751-1-olaf@aepfle.de
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/hyperv_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c index e36fb1a0ecdb..5bc86f481a78 100644 --- a/drivers/video/fbdev/hyperv_fb.c +++ b/drivers/video/fbdev/hyperv_fb.c @@ -47,6 +47,7 @@ #include <linux/module.h> #include <linux/kernel.h> +#include <linux/vmalloc.h> #include <linux/init.h> #include <linux/completion.h> #include <linux/fb.h> |