diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-08 04:20:36 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-04-22 05:34:59 -0400 |
commit | 0dd91544429188b496a8136e3cffb337ff6f056b (patch) | |
tree | 4eb52c4f699cafc27b01745056656070b4cc1da9 /include | |
parent | 3e52a05f0ad63c984b5ab4743fcd501fe702ad77 (diff) |
HID: export headers properly
I have people whining about using these headers in userspace, and they have
__KERNEL__ markings which implies they're supposed to be exported. I also
added the required linux/types.h include to hidraw.h since it uses the __u##
kernel types.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Jiri Kosina <jikos@jikos.cz>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/Kbuild | 2 | ||||
-rw-r--r-- | include/linux/hidraw.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index b3d9ccde0c27..5d741720332a 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -210,7 +210,9 @@ unifdef-y += hdlcdrv.h | |||
210 | unifdef-y += hdlc.h | 210 | unifdef-y += hdlc.h |
211 | unifdef-y += hdreg.h | 211 | unifdef-y += hdreg.h |
212 | unifdef-y += hdsmart.h | 212 | unifdef-y += hdsmart.h |
213 | unifdef-y += hid.h | ||
213 | unifdef-y += hiddev.h | 214 | unifdef-y += hiddev.h |
215 | unifdef-y += hidraw.h | ||
214 | unifdef-y += hpet.h | 216 | unifdef-y += hpet.h |
215 | unifdef-y += i2c.h | 217 | unifdef-y += i2c.h |
216 | unifdef-y += i2c-dev.h | 218 | unifdef-y += i2c-dev.h |
diff --git a/include/linux/hidraw.h b/include/linux/hidraw.h index 0536f299f7ff..dbb5c8c374f0 100644 --- a/include/linux/hidraw.h +++ b/include/linux/hidraw.h | |||
@@ -16,6 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/hid.h> | 18 | #include <linux/hid.h> |
19 | #include <linux/types.h> | ||
19 | 20 | ||
20 | struct hidraw_report_descriptor { | 21 | struct hidraw_report_descriptor { |
21 | __u32 size; | 22 | __u32 size; |