Merge branch 'work.file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.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