File Index
Files and directories
Sign in
FILE

ofpart_linksys_ns.h

File preview with syntax highlighting.

linux-6.19.14/drivers/mtd/parsers/ofpart_linksys_ns.h C
 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
 6int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
 7				     struct mtd_partition *parts,
 8				     int nr_parts);
 9#else
10static 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
~/ Read-only file preview.