[PATCH] allow delayed freeing of ctl_table_header
[pandora-kernel.git] / include / linux / hidraw.h
index 6676cd5..dbb5c8c 100644 (file)
  * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include <linux/hid.h>
+#include <linux/types.h>
+
 struct hidraw_report_descriptor {
        __u32 size;
-       __u8 *value;
+       __u8 value[HID_MAX_DESCRIPTOR_SIZE];
 };
 
 struct hidraw_devinfo {
@@ -40,8 +43,6 @@ struct hidraw_devinfo {
 /* kernel-only API declarations */
 #ifdef __KERNEL__
 
-#include <linux/hid.h>
-
 struct hidraw {
        unsigned int minor;
        int exist;