Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __OFPART_LINKSYS_NS_H
0003 #define __OFPART_LINKSYS_NS_H
0004 
0005 #ifdef CONFIG_MTD_OF_PARTS_LINKSYS_NS
0006 int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
0007                      struct mtd_partition *parts,
0008                      int nr_parts);
0009 #else
0010 static inline int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
0011                            struct mtd_partition *parts,
0012                            int nr_parts)
0013 {
0014     return -EOPNOTSUPP;
0015 }
0016 #endif
0017 
0018 #endif