NAND: Allow NAND and OneNAND to coexist
authorAlessandro Rubini <rubini-list@gnudd.com>
Fri, 31 Oct 2008 21:33:21 +0000 (22:33 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 31 Oct 2008 21:37:53 +0000 (16:37 -0500)
commita47f957ab523019992fdef857af01bd71c58a4da
treebcec7c5b10afb28a49b458e34dd800ba004eff7d
parent2f77c7f45b9a37ef265a8dbe3c18efa706fed214
NAND: Allow NAND and OneNAND to coexist

This removes in nand.h code that is verbatim duplicated from bbm.h,
including directly bbm.h in nand.h. The previous state of affairs
prevented compiling code for a board hosting both NAND and OneNAND chips.

Reported-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Scott Wood <scottwood@freescale.com>
include/linux/mtd/nand.h