xref: /kernel/linux/linux-6.6/drivers/mtd/parsers/ofpart_linksys_ns.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/mtd/parsers/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __OFPART_LINKSYS_NS_H
362306a36Sopenharmony_ci#define __OFPART_LINKSYS_NS_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifdef CONFIG_MTD_OF_PARTS_LINKSYS_NS
662306a36Sopenharmony_ciint linksys_ns_partitions_post_parse(struct mtd_info *mtd,
762306a36Sopenharmony_ci				     struct mtd_partition *parts,
862306a36Sopenharmony_ci				     int nr_parts);
962306a36Sopenharmony_ci#else
1062306a36Sopenharmony_cistatic inline int linksys_ns_partitions_post_parse(struct mtd_info *mtd,
1162306a36Sopenharmony_ci						   struct mtd_partition *parts,
1262306a36Sopenharmony_ci						   int nr_parts)
1362306a36Sopenharmony_ci{
1462306a36Sopenharmony_ci	return -EOPNOTSUPP;
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci#endif
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif
19

Indexes created Thu Nov 07 10:32:03 CST 2024