// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2021 Rafał Miłecki <[email protected]> */ #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" #define BLPARAMS_FW_OFFSET … static long long bcm4908_partitions_fw_offset(void) { … } int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) { … }