concat.h 575 B

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