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