xref: /rk3399_rockchip-uboot/include/linux/mtd/concat.h (revision 0a57265533c412adf6024f4b4955141f4346b2b9)
1*0a572655SStefan Roese /*
2*0a572655SStefan Roese  * MTD device concatenation layer definitions
3*0a572655SStefan Roese  *
4*0a572655SStefan Roese  * (C) 2002 Robert Kaiser <rkaiser@sysgo.de>
5*0a572655SStefan Roese  *
6*0a572655SStefan Roese  * This code is GPL
7*0a572655SStefan Roese  */
8*0a572655SStefan Roese 
9*0a572655SStefan Roese #ifndef MTD_CONCAT_H
10*0a572655SStefan Roese #define MTD_CONCAT_H
11*0a572655SStefan Roese 
12*0a572655SStefan Roese 
13*0a572655SStefan Roese struct mtd_info *mtd_concat_create(
14*0a572655SStefan Roese     struct mtd_info *subdev[],  /* subdevices to concatenate */
15*0a572655SStefan Roese     int num_devs,               /* number of subdevices      */
16*0a572655SStefan Roese     const char *name);          /* name for the new device   */
17*0a572655SStefan Roese 
18*0a572655SStefan Roese void mtd_concat_destroy(struct mtd_info *mtd);
19*0a572655SStefan Roese 
20*0a572655SStefan Roese #endif
21*0a572655SStefan Roese 
22