From: Alessandro Rubini Date: Sun, 20 Sep 2009 21:28:14 +0000 (+0200) Subject: mtd: unify status enum from three headers X-Git-Tag: v2.6.33-rc1~66^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30631cb82d5c6c662d5ec682beaa834c1f9f0987;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed