From: Timur Tabi Date: Wed, 5 Oct 2011 00:36:44 +0000 (-0500) Subject: drivers/video: fsl-diu-fb: fix some ioctls X-Git-Tag: v3.2-rc1~120^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b0b1d41541fc3b25faf38aa53c34cede357421;p=pandora-kernel.git drivers/video: fsl-diu-fb: fix some ioctls Use the _IOx macros to define the ioctl commands, instead of hard-coded numbers. Unfortunately, the original definitions of MFB_SET_PIXFMT and MFB_GET_PIXFMT used the wrong value for the size, so these macros have new values now. To avoid breaking binary compatibility with older applications, we retain support for the original values, but the driver displays a warning message if they're used. Also remove the FBIOGET_GWINFO and FBIOPUT_GWINFO ioctls. FBIOPUT_GWINFO was never implemented, and FBIOGET_GWINFO was never used by any application. Signed-off-by: Timur Tabi Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed