Thomas Gleixner | fd534e9 | 2019-05-23 11:14:39 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * MTD device concatenation layer definitions |
| 4 | * |
David Woodhouse | a1452a3 | 2010-08-08 20:58:20 +0100 | [diff] [blame] | 5 | * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef MTD_CONCAT_H |
| 9 | #define MTD_CONCAT_H |
| 10 | |
| 11 | |
| 12 | struct mtd_info *mtd_concat_create( |
| 13 | struct mtd_info *subdev[], /* subdevices to concatenate */ |
| 14 | int num_devs, /* number of subdevices */ |
Kay Sievers | 475b44c | 2009-01-06 10:44:38 -0800 | [diff] [blame] | 15 | const char *name); /* name for the new device */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | void mtd_concat_destroy(struct mtd_info *mtd); |
| 18 | |
| 19 | #endif |
| 20 | |