2019-05-23 17:14:39 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* MTD device concatenation layer definitions
|
|
|
|
*
|
2010-08-09 03:58:20 +08:00
|
|
|
* Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de>
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MTD_CONCAT_H
|
|
|
|
#define MTD_CONCAT_H
|
|
|
|
|
|
|
|
|
|
|
|
struct mtd_info *mtd_concat_create(
|
|
|
|
struct mtd_info *subdev[], /* subdevices to concatenate */
|
|
|
|
int num_devs, /* number of subdevices */
|
2009-01-07 02:44:38 +08:00
|
|
|
const char *name); /* name for the new device */
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
void mtd_concat_destroy(struct mtd_info *mtd);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|