Skip to content

Commit 1cce5a5

Browse files
rddunlapmiquelraynal
authored andcommitted
mtd: docg3: fix kernel-doc warnings
Fix kernel-doc warnings in docg3.h to avoid build warnings: Warning: ../drivers/mtd/devices/docg3.h:276 bad line: Warning: drivers/mtd/devices/docg3.h:299 struct member 'max_block' not described in 'docg3' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 64ef5f4 commit 1cce5a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/devices/docg3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@ struct docg3_cascade {
274274
* @cascade: the cascade this device belongs to
275275
* @device_id: number of the cascaded DoCG3 device (0, 1, 2 or 3)
276276
* @if_cfg: if true, reads are on 16bits, else reads are on 8bits
277-
278277
* @reliable: if 0, docg3 in normal mode, if 1 docg3 in fast mode, if 2 in
279278
* reliable mode
280279
* Fast mode implies more errors than normal mode.
281280
* Reliable mode implies that page 2*n and 2*n+1 are clones.
281+
* @max_block: maximum block number for this device
282282
* @bbt: bad block table cache
283283
* @oob_write_ofs: offset of the MTD where this OOB should belong (ie. in next
284284
* page_write)

0 commit comments

Comments
 (0)