Merge tag 'm68knommu-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / mtd / parsers / ofpart_linksys_ns.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __OFPART_LINKSYS_NS_H
3 #define __OFPART_LINKSYS_NS_H
4
5 #ifdef CONFIG_MTD_OF_PARTS_LINKSYS_NS
6 int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
7                                      struct mtd_partition *parts,
8                                      int nr_parts);
9 #else
10 static inline int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
11                                                    struct mtd_partition *parts,
12                                                    int nr_parts)
13 {
14         return -EOPNOTSUPP;
15 }
16 #endif
17
18 #endif