Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Miquel Raynal
1cce5a5e 64ef5f45

+1 -1
+1 -1
drivers/mtd/devices/docg3.h
··· 274 274 * @cascade: the cascade this device belongs to 275 275 * @device_id: number of the cascaded DoCG3 device (0, 1, 2 or 3) 276 276 * @if_cfg: if true, reads are on 16bits, else reads are on 8bits 277 - 278 277 * @reliable: if 0, docg3 in normal mode, if 1 docg3 in fast mode, if 2 in 279 278 * reliable mode 280 279 * Fast mode implies more errors than normal mode. 281 280 * Reliable mode implies that page 2*n and 2*n+1 are clones. 281 + * @max_block: maximum block number for this device 282 282 * @bbt: bad block table cache 283 283 * @oob_write_ofs: offset of the MTD where this OOB should belong (ie. in next 284 284 * page_write)