mtd: plat_nand: add platform probe/remove callbacks
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 12 May 2009 20:46:58 +0000 (13:46 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 17:11:13 +0000 (18:11 +0100)
commitbf95efd41b1a760128eb25402791b0a4941eb655
tree320dc4bb36e154ea330875ff2dee4481661059ad
parent4d964824ec826ed97bdde10bc8d8c4ce10540a98
mtd: plat_nand: add platform probe/remove callbacks

Add optional probe and remove callbacks to the plat_nand driver.

Some platforms may require additional setup, such as configuring the
memory controller, before the nand device can be accessed.  This patch
provides an optional callback to handle this setup as well as a callback
to teardown the setup.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/plat_nand.c
include/linux/mtd/nand.h
This page took 0.036806 seconds and 5 git commands to generate.