diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index b0e612dda0cf..f7ac97d834f6 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -805,6 +805,9 @@ struct ff_effect { | |||
805 | 805 | ||
806 | #define FF_MAX 0x7f | 806 | #define FF_MAX 0x7f |
807 | 807 | ||
808 | #ifdef LINUX_MOD_DEVICETABLE_H | ||
809 | /* We only want this if mod_devicetable.h has been included -- that's | ||
810 | either in kernel space, or in scripts/mod/file2alias.c */ | ||
808 | struct input_device_id { | 811 | struct input_device_id { |
809 | 812 | ||
810 | kernel_ulong_t flags; | 813 | kernel_ulong_t flags; |
@@ -823,6 +826,7 @@ struct input_device_id { | |||
823 | 826 | ||
824 | kernel_ulong_t driver_info; | 827 | kernel_ulong_t driver_info; |
825 | }; | 828 | }; |
829 | #endif | ||
826 | 830 | ||
827 | /* | 831 | /* |
828 | * Structure for hotplug & device<->driver matching. | 832 | * Structure for hotplug & device<->driver matching. |