]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mtd: davinci_nand: cmdlinepart uses MTD IDs
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 12 May 2009 23:23:32 +0000 (16:23 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 16:49:58 +0000 (17:49 +0100)
commitf19e8999a5631e3af0e1ca5127af80a25aba1fd7
tree41f4367269932a3e5a2eb5c3f52342e5ce9c2695
parentee8f37688966ab1438d0cf42e0cb7c6595d9592c
mtd: davinci_nand: cmdlinepart uses MTD IDs

Remove some legacy code from the davinci_nand driver, which made
cmdlinepart ignore the the MTD ID passed to it.  Boards can have
multiple NAND chips, and some do (like the DM357 EVM), so this
dated hack is undesirable.

Correct labels are like "davinci_nand.0" (for chipselect 0).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/davinci_nand.c