mtd: compat_ioctl cleanup
commit977185404046afb31d2e18fac0a076de1a20bf0e
authorKevin Cernekee <kpc.mtd@gmail.com>
Thu, 9 Apr 2009 05:53:13 +0000 (8 22:53 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 May 2009 14:24:48 +0000 (29 15:24 +0100)
tree4b0cd9a27748549126c52dbf0af6f4c3c89224df
parent0dc54e9f33e2fbcea28356bc2c8c931cb307d3b3
mtd: compat_ioctl cleanup

1) Move the MEMREADOOB/MEMWRITEOOB compat_ioctl wrappers from
fs/compat_ioctl.c into mtdchar.c .  Original request was here:

http://lkml.org/lkml/2009/4/1/295

2) Add missing COMPATIBLE_IOCTL lines, so that mtd-utils does not error
out when running in 64/32 compatibility mode.

LKML-Reference: <200904011650.22928.arnd@arndb.de>
Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdchar.c
fs/compat_ioctl.c