It uses kernel_ulong_t but can't be wrapped in __KERNEL__ because it's
used from scripts/mod/file2alias.c -- but we _can_ hide it inside
header manually too (and it doesn't generally exist for userspace).
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
#define FF_MAX 0x7f
+#ifdef LINUX_MOD_DEVICETABLE_H
+/* We only want this if mod_devicetable.h has been included -- that's
+ either in kernel space, or in scripts/mod/file2alias.c */
struct input_device_id {
kernel_ulong_t flags;
kernel_ulong_t driver_info;
};
+#endif
/*
* Structure for hotplug & device<->driver matching.