Merge tag 'amd-drm-next-5.14-2021-05-21' of https://gitlab.freedesktop.org/agd5f...
[linux-block.git] / drivers / mtd / parsers / ofpart_bcm4908.h
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