diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-16 00:44:33 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-01-16 00:44:33 +0200 |
commit | e8a69d24cf98dae9d5087503344cc28e2383f915 (patch) | |
tree | ebb79786b75885eee8cce77c7ee771c4fd985e44 /include | |
parent | 16770f51251ce5bc5593abdc5f6c5e4b240205fd (diff) |
struct input_device_id mustn't be userspace visible
struct input_device_id mustn't be userspace visible since
it uses kernel_ulong_t.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 6d4cc3c110d..1a418a94197 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -796,6 +796,8 @@ struct ff_effect { #define FF_MAX 0x7f +/* musn't be userspace visible since it uses kernel_ulong_t */ +#if defined(__KERNEL__) || defined (LINUX_MOD_DEVICETABLE_H) struct input_device_id { kernel_ulong_t flags; @@ -814,6 +816,7 @@ struct input_device_id { kernel_ulong_t driver_info; }; +#endif /* defined(__KERNEL__) || defined (LINUX_MOD_DEVICETABLE_H) */ /* * Structure for hotplug & device<->driver matching. |