linux/drivers/mtd/tests/mtd_test.c

// SPDX-License-Identifier: GPL-2.0
#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/sched.h>
#include <linux/printk.h>

#include "mtd_test.h"

int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum)
{}
EXPORT_SYMBOL_GPL();

static int is_block_bad(struct mtd_info *mtd, unsigned int ebnum)
{}

int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
					unsigned int eb, int ebcnt)
{}
EXPORT_SYMBOL_GPL();

int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
				unsigned int eb, int ebcnt)
{}
EXPORT_SYMBOL_GPL();

int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf)
{}
EXPORT_SYMBOL_GPL();

int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
		const void *buf)
{}
EXPORT_SYMBOL_GPL();

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_AUTHOR();