From 7c71e3cb9764e5c4f2446f477f293585c23d2cb1 Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Rajput Date: Fri, 30 Jan 2009 21:15:34 +0530 Subject: [PATCH] --- yaml --- r: 130646 b: refs/heads/master c: b08ead0527bcfdcab39a347b531701289485b484 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/hid.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 884dccf93b6e..310501fc67e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 237416fe05067237f0bcc6370d84c09b52fb776a +refs/heads/master: b08ead0527bcfdcab39a347b531701289485b484 diff --git a/trunk/include/linux/hid.h b/trunk/include/linux/hid.h index 81aa84d60c6b..fa8ee9cef7be 100644 --- a/trunk/include/linux/hid.h +++ b/trunk/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