#include <linux/module.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/mtd/mtd.h>
#include <linux/slab.h>
#include <linux/mtd/partitions.h>
#include "ofpart_bcm4908.h"
#include "ofpart_linksys_ns.h"
struct fixed_partitions_quirks { … };
static struct fixed_partitions_quirks bcm4908_partitions_quirks = …;
static struct fixed_partitions_quirks linksys_ns_partitions_quirks = …;
static const struct of_device_id parse_ofpart_match_table[];
static bool node_has_compatible(struct device_node *pp)
{ … }
static int parse_fixed_partitions(struct mtd_info *master,
const struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{ … }
static const struct of_device_id parse_ofpart_match_table[] = …;
MODULE_DEVICE_TABLE(of, parse_ofpart_match_table);
static struct mtd_part_parser ofpart_parser = …;
static int parse_ofoldpart_partitions(struct mtd_info *master,
const struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{ … }
static struct mtd_part_parser ofoldpart_parser = …;
static int __init ofpart_parser_init(void)
{ … }
static void __exit ofpart_parser_exit(void)
{ … }
module_init(…) …;
module_exit(ofpart_parser_exit);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;