Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

headers_check fix: linux/hid.h

fix the following 'make headers_check' warnings:

usr/include/linux/hid.h:69: extern's make no sense in userspace
usr/include/linux/hid.h:76: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

+2
+2
include/linux/hid.h
··· 791 791 __FILE__ , ## arg) 792 792 #endif /* HID_FF */ 793 793 794 + #ifdef __KERNEL__ 794 795 #ifdef CONFIG_HID_COMPAT 795 796 #define HID_COMPAT_LOAD_DRIVER(name) \ 796 797 /* prototype to avoid sparse warning */ \ ··· 805 804 extern void hid_compat_##name(void); \ 806 805 hid_compat_##name(); \ 807 806 } while (0) 807 + #endif /* __KERNEL__ */ 808 808 809 809 #endif 810 810