]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: Move struct mtd_concat definition to header file
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Wed, 4 Feb 2026 08:32:17 +0000 (09:32 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Feb 2026 16:34:20 +0000 (17:34 +0100)
commit59509da0cb51dc48e4edc57d7d3ef1d424c58fc9
tree2c5ce4d2fb375597043689b2a23dc5c328efc3ff
parent5c543de856c463235cef0808c2b100e475fc8438
mtd: Move struct mtd_concat definition to header file

To enable a more generic approach for concatenating MTD devices,
struct mtd_concat should be accessible beyond the mtdconcat driver.
Therefore, the definition is being moved to a header file.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/mtdconcat.c
include/linux/mtd/concat.h