ofpart_bcm4908.h 402 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __BCM4908_PARTITIONS_H
  3. #define __BCM4908_PARTITIONS_H
  4. #ifdef CONFIG_MTD_OF_PARTS_BCM4908
  5. int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
  6. #else
  7. static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts,
  8. int nr_parts)
  9. {
  10. return -EOPNOTSUPP;
  11. }
  12. #endif
  13. #endif