blob: e80c674daeb38c8385c55d7e89b87f3909dcc201 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * MTD device concatenation layer definitions
3 *
4 * (C) 2002 Robert Kaiser <rkaiser@sysgo.de>
5 *
6 * This code is GPL
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 */
8
9#ifndef MTD_CONCAT_H
10#define MTD_CONCAT_H
11
12
13struct mtd_info *mtd_concat_create(
14 struct mtd_info *subdev[], /* subdevices to concatenate */
15 int num_devs, /* number of subdevices */
Kay Sievers475b44c2009-01-06 10:44:38 -080016 const char *name); /* name for the new device */
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18void mtd_concat_destroy(struct mtd_info *mtd);
19
20#endif
21