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: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
parent 237416fe
...@@ -791,6 +791,7 @@ dbg_hid(const char *fmt, ...) ...@@ -791,6 +791,7 @@ dbg_hid(const char *fmt, ...)
__FILE__ , ## arg) __FILE__ , ## arg)
#endif /* HID_FF */ #endif /* HID_FF */
#ifdef __KERNEL__
#ifdef CONFIG_HID_COMPAT #ifdef CONFIG_HID_COMPAT
#define HID_COMPAT_LOAD_DRIVER(name) \ #define HID_COMPAT_LOAD_DRIVER(name) \
/* prototype to avoid sparse warning */ \ /* prototype to avoid sparse warning */ \
...@@ -804,6 +805,7 @@ EXPORT_SYMBOL(hid_compat_##name) ...@@ -804,6 +805,7 @@ EXPORT_SYMBOL(hid_compat_##name)
extern void hid_compat_##name(void); \ extern void hid_compat_##name(void); \
hid_compat_##name(); \ hid_compat_##name(); \
} while (0) } while (0)
#endif /* __KERNEL__ */
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment