From: Jiri Kosina Date: Fri, 8 Apr 2011 23:43:18 +0000 (+0200) Subject: HID: hidraw: fix samples miscompilation X-Git-Tag: v3.0-rc1~345^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3e85fe19575cce8af82bc62a070c72e8f781b8;p=pandora-kernel.git HID: hidraw: fix samples miscompilation On systems where userspace doesn't have new hidraw.h populated to /usr/include, the hidraw sample won't compile as it's missing the new ioctl defitions. Introduce temporary ugly workaround to define the ioctls "manually" in such cases, just to avoid miscompilation in allmodconfig cases. Reported-by: Stephen Rothwell Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed