diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-09-28 13:59:49 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-01 01:34:16 +0000 |
commit | 2a3a18045b136487b22733d57410e6dccd34ac84 (patch) | |
tree | 4152d54029bd5c82e210dacbbba3b7629c14ca3c /arch/arm/plat-s3c/include | |
parent | ff34aaa9535afc46b017f7a9b553dbf3e0ad5084 (diff) | |
download | linux-rt-2a3a18045b136487b22733d57410e6dccd34ac84.tar.gz |
ARM: S3C: Add NAND device platform data set call
Diffstat (limited to 'arch/arm/plat-s3c/include')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/nand.h | 8 |
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 18f958801e64..065985978413 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); |