From: Thomas Zimmermann Date: Wed, 1 Dec 2021 11:46:40 +0000 (+0100) Subject: agp: Include "compat_ioctl.h" where necessary X-Git-Tag: howlett/maple/20220722_2~936^2~20^2~74 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9175cb2c83c82fea9f234203ad3a02027372f929;p=users%2Fjedix%2Flinux-maple.git 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 Acked-by: Helge Deller Link: https://patchwork.freedesktop.org/patch/msgid/20211201114645.15384-3-tzimmermann@suse.de --- 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 #include #include + #include "agp.h" +#include "compat_ioctl.h" struct agp_front_data agp_fe;