| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * MTD device concatenation layer definitions | 
|  | 3 | * | 
|  | 4 | * (C) 2002 Robert Kaiser <rkaiser@sysgo.de> | 
|  | 5 | * | 
|  | 6 | * This code is GPL | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | */ | 
|  | 8 |  | 
|  | 9 | #ifndef MTD_CONCAT_H | 
|  | 10 | #define MTD_CONCAT_H | 
|  | 11 |  | 
|  | 12 |  | 
|  | 13 | struct mtd_info *mtd_concat_create( | 
|  | 14 | struct mtd_info *subdev[],  /* subdevices to concatenate */ | 
|  | 15 | int num_devs,               /* number of subdevices      */ | 
| Kay Sievers | 475b44c | 2009-01-06 10:44:38 -0800 | [diff] [blame] | 16 | const char *name);          /* name for the new device   */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 |  | 
|  | 18 | void mtd_concat_destroy(struct mtd_info *mtd); | 
|  | 19 |  | 
|  | 20 | #endif | 
|  | 21 |  |