diff options
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index a46cda488695..a46cbea71d65 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -792,21 +792,5 @@ dbg_hid(const char *fmt, ...) | |||
792 | __FILE__ , ## arg) | 792 | __FILE__ , ## arg) |
793 | #endif /* HID_FF */ | 793 | #endif /* HID_FF */ |
794 | 794 | ||
795 | #ifdef __KERNEL__ | ||
796 | #ifdef CONFIG_HID_COMPAT | ||
797 | #define HID_COMPAT_LOAD_DRIVER(name) \ | ||
798 | /* prototype to avoid sparse warning */ \ | ||
799 | extern void hid_compat_##name(void); \ | ||
800 | void hid_compat_##name(void) { } \ | ||
801 | EXPORT_SYMBOL(hid_compat_##name) | ||
802 | #else | ||
803 | #define HID_COMPAT_LOAD_DRIVER(name) | ||
804 | #endif /* HID_COMPAT */ | ||
805 | #define HID_COMPAT_CALL_DRIVER(name) do { \ | ||
806 | extern void hid_compat_##name(void); \ | ||
807 | hid_compat_##name(); \ | ||
808 | } while (0) | ||
809 | #endif /* __KERNEL__ */ | ||
810 | |||
811 | #endif | 795 | #endif |
812 | 796 | ||