From: Mike Frysinger Date: Tue, 8 Apr 2008 08:20:36 +0000 (+0200) Subject: HID: export headers properly X-Git-Tag: v2.6.26-rc1~1107^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0dd91544429188b496a8136e3cffb337ff6f056b;p=linux-2.6-omap-h63xx.git 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 Cc: Jiri Kosina Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Jiri Kosina --- diff --git a/include/linux/Kbuild b/include/linux/Kbuild index b3d9ccde0c2..5d741720332 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -210,7 +210,9 @@ unifdef-y += hdlcdrv.h unifdef-y += hdlc.h unifdef-y += hdreg.h unifdef-y += hdsmart.h +unifdef-y += hid.h unifdef-y += hiddev.h +unifdef-y += hidraw.h unifdef-y += hpet.h unifdef-y += i2c.h unifdef-y += i2c-dev.h diff --git a/include/linux/hidraw.h b/include/linux/hidraw.h index 0536f299f7f..dbb5c8c374f 100644 --- a/include/linux/hidraw.h +++ b/include/linux/hidraw.h @@ -16,6 +16,7 @@ */ #include +#include struct hidraw_report_descriptor { __u32 size;