]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/hidraw.h
regulator: Add WM8400 regulator support
[linux-2.6-omap-h63xx.git] / include / linux / hidraw.h
index 6676cd5e9954234fdd06b003025f3535e8652694..dbb5c8c374f01c286e1bfaa0e2da00c67718c88c 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;