diff options
author | Michel Pollet <buserror@gmail.com> | 2009-05-13 11:54:13 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-06-08 07:10:29 -0400 |
commit | a4536b19df92adda215f6fc225b52dc4cee4cf83 (patch) | |
tree | 5b05604117663b2f2b0d2dd6d4a5e29c1b53c3e2 /arch | |
parent | ed27f0287062236d50190d7447f6377ff4acdfad (diff) |
[MTD] [NAND] S3C2410: Added a kerneldoc for s3c2410_nand_set
Converted the old comnent to kerneldoc.
Signed-off-by: Michel Pollet <buserror@gmail.com>
[ben-linux@fluff.org: updated subject, spello fix]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/nand.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h index 985546750c6d..935651664969 100644 --- a/arch/arm/plat-s3c/include/plat/nand.h +++ b/arch/arm/plat-s3c/include/plat/nand.h | |||
@@ -10,17 +10,19 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /* struct s3c2410_nand_set | 13 | /** |
14 | * struct s3c2410_nand_set - define a set of one or more nand chips | ||
15 | * @disable_ecc: Entirely disable ECC - Dangerous | ||
16 | * @nr_chips: Number of chips in this set | ||
17 | * @nr_partitions: Number of partitions pointed to by @partitions | ||
18 | * @name: Name of set (optional) | ||
19 | * @nr_map: Map for low-layer logical to physical chip numbers (option) | ||
20 | * @partitions: The mtd partition list | ||
14 | * | 21 | * |
15 | * define an set of one or more nand chips registered with an unique mtd | 22 | * define a set of one or more nand chips registered with an unique mtd. Also |
16 | * | 23 | * allows to pass flag to the underlying NAND layer. 'disable_ecc' will trigger |
17 | * nr_chips = number of chips in this set | 24 | * a warning at boot time. |
18 | * nr_partitions = number of partitions pointed to be partitoons (or zero) | 25 | */ |
19 | * name = name of set (optional) | ||
20 | * nr_map = map for low-layer logical to physical chip numbers (option) | ||
21 | * partitions = mtd partition list | ||
22 | */ | ||
23 | |||
24 | struct s3c2410_nand_set { | 26 | struct s3c2410_nand_set { |
25 | unsigned int disable_ecc:1; | 27 | unsigned int disable_ecc:1; |
26 | 28 | ||