diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2009-05-12 13:46:58 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-06-05 18:11:13 +0100 |
commit | bf95efd41b1a760128eb25402791b0a4941eb655 (patch) | |
tree | 320dc4bb36e154ea330875ff2dee4481661059ad /mm | |
parent | 4d964824ec826ed97bdde10bc8d8c4ce10540a98 (diff) |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions