blob: 195a4a5426b6b928b40bbe62dd3fafae708a0fd4 [file] [log] [blame]
Stefan Roese0a572652009-05-12 14:29:39 +02001/*
2 * MTD device concatenation layer definitions
3 *
4 * (C) 2002 Robert Kaiser <rkaiser@sysgo.de>
5 *
6 * This code is GPL
7 */
8
9#ifndef MTD_CONCAT_H
10#define MTD_CONCAT_H
11
Stefan Roese0a572652009-05-12 14:29:39 +020012struct mtd_info *mtd_concat_create(
13 struct mtd_info *subdev[], /* subdevices to concatenate */
14 int num_devs, /* number of subdevices */
Heiko Schocherff94bc42014-06-24 10:10:04 +020015#ifndef __UBOOT__
Stefan Roese0a572652009-05-12 14:29:39 +020016 const char *name); /* name for the new device */
Heiko Schocherff94bc42014-06-24 10:10:04 +020017#else
18 char *name); /* name for the new device */
19#endif
Stefan Roese0a572652009-05-12 14:29:39 +020020
21void mtd_concat_destroy(struct mtd_info *mtd);
22
23#endif