aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 75cc1531dd84..60e44e6b86e6 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -790,10 +790,23 @@ dbg_hid(const char *fmt, ...)
790 return 0; 790 return 0;
791} 791}
792#define dbg_hid_line dbg_hid 792#define dbg_hid_line dbg_hid
793#endif 793#endif /* HID_DEBUG */
794 794
795#define err_hid(format, arg...) printk(KERN_ERR "%s: " format "\n" , \ 795#define err_hid(format, arg...) printk(KERN_ERR "%s: " format "\n" , \
796 __FILE__ , ## arg) 796 __FILE__ , ## arg)
797#endif 797#endif /* HID_FF */
798
799#ifdef CONFIG_HID_COMPAT
800#define HID_COMPAT_LOAD_DRIVER(name) \
801void hid_compat_##name(void) { } \
802EXPORT_SYMBOL(hid_compat_##name)
803#else
804#define HID_COMPAT_LOAD_DRIVER(name)
805#endif /* HID_COMPAT */
806#define HID_COMPAT_CALL_DRIVER(name) do { \
807 extern void hid_compat_##name(void); \
808 hid_compat_##name(); \
809} while (0)
810
798#endif 811#endif
799 812