projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938fb51
)
agp: Include "compat_ioctl.h" where necessary
author
Thomas Zimmermann
<tzimmermann@suse.de>
Wed, 1 Dec 2021 11:46:40 +0000
(12:46 +0100)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 14 Jan 2022 14:11:42 +0000
(15:11 +0100)
Fix compiler warnings like
drivers/char/agp/frontend.c:46:20: warning: no previous prototype for 'agp_find_mem_by_key' [-Wmissing-prototypes]
46 | struct agp_memory *agp_find_mem_by_key(int key)
by including the compat_ioctl.h in the source file.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Helge Deller <deller@gmx.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20211201114645.15384-3-tzimmermann@suse.de
drivers/char/agp/frontend.c
patch
|
blob
|
history
diff --git
a/drivers/char/agp/frontend.c
b/drivers/char/agp/frontend.c
index 6802a6bbf0f290cfde97daf66f8ea79bafe3a900..321118a9cfa52b319ccfe174ceb67654cf9af53b 100644
(file)
--- a/
drivers/char/agp/frontend.c
+++ b/
drivers/char/agp/frontend.c
@@
-39,7
+39,9
@@
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
+
#include "agp.h"
+#include "compat_ioctl.h"
struct agp_front_data agp_fe;