From: H Hartley Sweeten Date: Tue, 12 May 2009 20:46:58 +0000 (-0700) Subject: mtd: plat_nand: add platform probe/remove callbacks X-Git-Tag: v2.6.31-rc1~53^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf95efd41b1a760128eb25402791b0a4941eb655;p=pandora-kernel.git 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 Tested-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed