10a572655SStefan Roese /* 20a572655SStefan Roese * MTD device concatenation layer definitions 30a572655SStefan Roese * 4*78e9e71cSTom Rini * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> 50a572655SStefan Roese * 6*78e9e71cSTom Rini * SPDX-License-Identifier: GPL-2.0+ 7*78e9e71cSTom Rini * 80a572655SStefan Roese */ 90a572655SStefan Roese 100a572655SStefan Roese #ifndef MTD_CONCAT_H 110a572655SStefan Roese #define MTD_CONCAT_H 120a572655SStefan Roese 130a572655SStefan Roese struct mtd_info *mtd_concat_create( 140a572655SStefan Roese struct mtd_info *subdev[], /* subdevices to concatenate */ 150a572655SStefan Roese int num_devs, /* number of subdevices */ 16ff94bc40SHeiko Schocher #ifndef __UBOOT__ 170a572655SStefan Roese const char *name); /* name for the new device */ 18ff94bc40SHeiko Schocher #else 19ff94bc40SHeiko Schocher char *name); /* name for the new device */ 20ff94bc40SHeiko Schocher #endif 210a572655SStefan Roese 220a572655SStefan Roese void mtd_concat_destroy(struct mtd_info *mtd); 230a572655SStefan Roese 240a572655SStefan Roese #endif 25