summaryrefslogtreecommitdiff
path: root/drivers/mtd/parsers/ofpart_bcm4908.h
blob: 80f8c086641fb0cc6dbcbecc22352067fa66c5bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __BCM4908_PARTITIONS_H
#define __BCM4908_PARTITIONS_H

#ifdef CONFIG_MTD_OF_PARTS_BCM4908
int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
#else
static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts,
						int nr_parts)
{
	return -EOPNOTSUPP;
}
#endif

#endif