HID: fix build failure in hiddev_ioctl with gcc 3.2
authorJean Delvare <khali@linux-fr.org>
Mon, 3 Mar 2008 10:48:43 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Apr 2008 09:34:56 +0000 (11:34 +0200)
Fix build failure in hiddev_ioctl with gcc 3.2:
http://bugzilla.kernel.org/show_bug.cgi?id=10121

The trick is to move the handling of ioctls which need to allocate
memory to separate functions.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found