diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-12-01 12:46:40 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-01-14 15:11:42 +0100 |
commit | 9175cb2c83c82fea9f234203ad3a02027372f929 (patch) | |
tree | bd4f5b202cbf529b7439d0973e5e1adac2c99ec1 /drivers/char/agp | |
parent | 938fb517d4f817c06102e307dcac2fc02b6484b3 (diff) | |
download | lwn-9175cb2c83c82fea9f234203ad3a02027372f929.tar.gz lwn-9175cb2c83c82fea9f234203ad3a02027372f929.zip |
agp: Include "compat_ioctl.h" where necessary
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
Diffstat (limited to 'drivers/char/agp')
-rw-r--r-- | drivers/char/agp/frontend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 6802a6bbf0f2..321118a9cfa5 100644 --- 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; |