OSDN Git Service

agp: Include "compat_ioctl.h" where necessary
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 1 Dec 2021 11:46:40 +0000 (12:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 14 Jan 2022 14:11:42 +0000 (15:11 +0100)
commit9175cb2c83c82fea9f234203ad3a02027372f929
treebd4f5b202cbf529b7439d0973e5e1adac2c99ec1
parent938fb517d4f817c06102e307dcac2fc02b6484b3
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
drivers/char/agp/frontend.c