David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * MTD device concatenation layer definitions |
| 4 | * |
| 5 | * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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 */ |
| 15 | const char *name); /* name for the new device */ |
| 16 | |
| 17 | void mtd_concat_destroy(struct mtd_info *mtd); |
| 18 | |
| 19 | #endif |
| 20 | |