cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ofpart_linksys_ns.h (439B)


      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