|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/slab.h>#include <linux/ioport.h>#include <linux/vmalloc.h>#include <linux/init.h>#include <linux/mtd/mtd.h>#include <linux/mtd/mtdram.h>Go to the source code of this file.
Macros | |
| #define | MTDRAM_TOTAL_SIZE (total_size * 1024) |
| #define | MTDRAM_ERASE_SIZE (erase_size * 1024) |
Functions | |
| int | mtdram_init_device (struct mtd_info *mtd, void *mapped_address, unsigned long size, char *name) |
| module_init (init_mtdram) | |
| module_exit (cleanup_mtdram) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Alexander Larsson <[email protected]>") | |
| MODULE_DESCRIPTION ("Simulated MTD driver for testing") | |
| #define MTDRAM_TOTAL_SIZE (total_size * 1024) |
| MODULE_AUTHOR | ( | "Alexander Larsson <[email protected]>" | ) |
| module_exit | ( | cleanup_mtdram | ) |
| module_init | ( | init_mtdram | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2