concat.h 575 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * MTD device concatenation layer definitions
  4. *
  5. * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de>
  6. *
  7. */
  8. #ifndef MTD_CONCAT_H
  9. #define MTD_CONCAT_H
  10. struct mtd_info *mtd_concat_create(
  11. struct mtd_info *subdev[], /* subdevices to concatenate */
  12. int num_devs, /* number of subdevices */
  13. #ifndef __UBOOT__
  14. const char *name); /* name for the new device */
  15. #else
  16. char *name); /* name for the new device */
  17. #endif
  18. void mtd_concat_destroy(struct mtd_info *mtd);
  19. #endif