aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c/include/plat/nand.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-12-04 17:33:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-04 17:33:54 +0000
commit602fd7c36728a04e61a442c9755e7d454501266c (patch)
tree6be77464bd07934a40959d68e5d08d75829bdc49 /arch/arm/plat-s3c/include/plat/nand.h
parentd7931d9f7ab9de9158c6905caae979999134ad4d (diff)
parent88d27041cf4d36e499e2c54b6c44d9115ccf124a (diff)
Merge branch 'for-rmk' of git://git.fluff.org/bjdooks/linux into devel-stable
Conflicts: arch/arm/Kconfig
Diffstat (limited to 'arch/arm/plat-s3c/include/plat/nand.h')
-rw-r--r--arch/arm/plat-s3c/include/plat/nand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h
index 18f958801e6..06598597841 100644
--- a/arch/arm/plat-s3c/include/plat/nand.h
+++ b/arch/arm/plat-s3c/include/plat/nand.h
@@ -55,3 +55,11 @@ struct s3c2410_platform_nand {
int chip);
};
+/**
+ * s3c_nand_set_platdata() - register NAND platform data.
+ * @nand: The NAND platform data to register with s3c_device_nand.
+ *
+ * This function copies the given NAND platform data, @nand and registers
+ * it with the s3c_device_nand. This allows @nand to be __initdata.
+*/
+extern void s3c_nand_set_platdata(struct s3c2410_platform_nand *nand);