[MTD] Use single flag to mark writeable devices.
authorJoern Engel <joern@wh.fh-wedel.de>
Mon, 22 May 2006 21:17:23 +0000 (23:17 +0200)
committerJoern Engel <joern@wh.fh-wedel.de>
Mon, 22 May 2006 21:17:23 +0000 (23:17 +0200)
commit8ca9ed5db3aea8d27989c239e8a2f79b839f1e99
tree496ed4b78875ed19db0fad3bac8afaedae9d79d0
parent987d47b71a85bd83dc40c870abee3b64f2002163
[MTD] Use single flag to mark writeable devices.

Two flags exist to decide whether a device is writeable or not.  None of
those two flags is checked for independently, so they are clearly redundant,
if not an invitation to bugs.  This patch removed both of them, replacing
them with a single new flag.

Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
include/mtd/mtd-abi.h