Char driver for CFI Flash.
More...
#include <linux/mtd/map.h>
Go to the source code of this file.
Char driver for CFI Flash.
- Author
- Jan Marjanovic (j.mar.nosp@m.jano.nosp@m.vic@c.nosp@m.aene.nosp@m.ls.co.nosp@m.m)
- Date
- July 2014
| int flash_dev_create |
( |
struct flash_dev_struct * |
dev, |
|
|
struct class * |
best_class |
|
) |
| |
Creates new Flash char device.
- Parameters
-
| dev | Structure with Flash info |
| best_class | Class which this device will be part of |
| void flash_dev_remove |
( |
struct flash_dev_struct * |
dev, |
|
|
struct class * |
best_class |
|
) |
| |
Removes Flash char device.
- Parameters
-
| dev | Structure with Flash info |
| best_class | Class which this device will be part of |