1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 20a572655SStefan Roese /* 30a572655SStefan Roese * MTD device concatenation layer definitions 40a572655SStefan Roese * 578e9e71cSTom Rini * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> 60a572655SStefan Roese * 70a572655SStefan Roese */ 80a572655SStefan Roese 90a572655SStefan Roese #ifndef MTD_CONCAT_H 100a572655SStefan Roese #define MTD_CONCAT_H 110a572655SStefan Roese 120a572655SStefan Roese struct mtd_info *mtd_concat_create( 130a572655SStefan Roese struct mtd_info *subdev[], /* subdevices to concatenate */ 140a572655SStefan Roese int num_devs, /* number of subdevices */ 15ff94bc40SHeiko Schocher #ifndef __UBOOT__ 160a572655SStefan Roese const char *name); /* name for the new device */ 17ff94bc40SHeiko Schocher #else 18ff94bc40SHeiko Schocher char *name); /* name for the new device */ 19ff94bc40SHeiko Schocher #endif 200a572655SStefan Roese 210a572655SStefan Roese void mtd_concat_destroy(struct mtd_info *mtd); 220a572655SStefan Roese 230a572655SStefan Roese #endif 24