#include <linux/module.h>
#include <linux/fs.h>
#include <linux/blkdev.h>
#include <linux/bio.h>
#include <linux/pagemap.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mutex.h>
#include <linux/mount.h>
#include <linux/slab.h>
Go to the source code of this file.
#define parse_err |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
Value:do { \
return 0; \
} while (0)
Definition at line 340 of file block2mtd.c.
MODULE_DESCRIPTION |
( |
"Emulate an MTD using a block device" |
| ) |
|
module_exit |
( |
block2mtd_exit |
| ) |
|
module_init |
( |
block2mtd_init |
| ) |
|
module_param_call |
( |
block2mtd |
, |
|
|
block2mtd_setup |
, |
|
|
NULL |
, |
|
|
NULL |
, |
|
|
0200 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
block2mtd |
, |
|
|
"Device to use. \" |
block2mtd = <dev>[ , |
|
|
< erasesize >]\"" |
|
|
) |
| |