summaryrefslogtreecommitdiff
path: root/drivers/mtd/parsers/ofpart_bcm4908.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/parsers/ofpart_bcm4908.h')
-rw-r--r--drivers/mtd/parsers/ofpart_bcm4908.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/parsers/ofpart_bcm4908.h b/drivers/mtd/parsers/ofpart_bcm4908.h
index 80f8c086641f..f96dcd5275a7 100644
--- a/drivers/mtd/parsers/ofpart_bcm4908.h
+++ b/drivers/mtd/parsers/ofpart_bcm4908.h
@@ -4,12 +4,6 @@
#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