]>
Commit | Line | Data |
---|---|---|
0a572655 SR |
1 | /* |
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 | ||
0a572655 SR |
12 | struct mtd_info *mtd_concat_create( |
13 | struct mtd_info *subdev[], /* subdevices to concatenate */ | |
14 | int num_devs, /* number of subdevices */ | |
ff94bc40 | 15 | #ifndef __UBOOT__ |
0a572655 | 16 | const char *name); /* name for the new device */ |
ff94bc40 HS |
17 | #else |
18 | char *name); /* name for the new device */ | |
19 | #endif | |
0a572655 SR |
20 | |
21 | void mtd_concat_destroy(struct mtd_info *mtd); | |
22 | ||
23 | #endif |