diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-30 21:15:34 +0530 |
---|---|---|
committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-30 23:50:37 +0530 |
commit | b08ead0527bcfdcab39a347b531701289485b484 (patch) | |
tree | 055e7e2f0de2f6e76797b39172e4761371a9672b | |
parent | 237416fe05067237f0bcc6370d84c09b52fb776a (diff) | |
download | blackbird-op-linux-b08ead0527bcfdcab39a347b531701289485b484.tar.gz blackbird-op-linux-b08ead0527bcfdcab39a347b531701289485b484.zip |
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>
-rw-r--r-- | include/linux/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 81aa84d60c6b..fa8ee9cef7be 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -791,6 +791,7 @@ dbg_hid(const char *fmt, ...) __FILE__ , ## arg) #endif /* HID_FF */ +#ifdef __KERNEL__ #ifdef CONFIG_HID_COMPAT #define HID_COMPAT_LOAD_DRIVER(name) \ /* prototype to avoid sparse warning */ \ @@ -804,6 +805,7 @@ EXPORT_SYMBOL(hid_compat_##name) extern void hid_compat_##name(void); \ hid_compat_##name(); \ } while (0) +#endif /* __KERNEL__ */ #endif |