mtd: move mtd_oob_mode_t to shared kernel/user space
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 01:45:39 +0000 (18:45 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:26:20 +0000 (15:26 +0300)
commit905c6bcdb42616da717a9bd6c0c5870dbd90b09e
tree211f0068cb67463d4e2120c5457a81b4b6e56ff9
parentc46f6483d21e93400e4a110de7902830173d53b0
mtd: move mtd_oob_mode_t to shared kernel/user space

We will want to use the MTD_OOB_{PLACE,AUTO,RAW} modes in user-space
applications through the introduction of new ioctls, so we should make
this enum a shared type.

This enum is now anonymous.

Artem: tweaked the patch.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/mtd.h
include/mtd/mtd-abi.h