]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: unify status enum from three headers
authorAlessandro Rubini <rubini@unipv.it>
Sun, 20 Sep 2009 21:28:14 +0000 (23:28 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Sep 2009 19:55:07 +0000 (12:55 -0700)
commit1b9f8a4c3f0ff39fd5ebfab93a46a203830470b1
tree9c329ebf759cdbc4be4cc488ae448bbb6ef73c11
parentae872ff37f728fbe8b17d1c2d1b061d6debebc7f
mtd: unify status enum from three headers

nand.h, onenand.h and flashchip.h defined enumeration types
for chip status using the same symbolic names. This prevented
a board file to include more than one of them. In particular,
no nand and onenand platform devices could live in the same file.
This patch augments flashchip.h with a few status values in order
to cover all cases, so nand.h and onenand.h can use flstate_t
without declaring their own status enum.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/flashchip.h
include/linux/mtd/nand.h
include/linux/mtd/onenand.h