BEST PCIe driver
 All Data Structures Files Functions Variables Macros Pages
BEST_flash.h File Reference

Char driver for CFI Flash. More...

#include <linux/mtd/map.h>

Go to the source code of this file.

Data Structures

struct  flash_dev_struct
 

Functions

int flash_dev_create (struct flash_dev_struct *dev, struct class *best_class)
 Creates new Flash char device. More...
 
void flash_dev_remove (struct flash_dev_struct *dev, struct class *best_class)
 Removes Flash char device. More...
 

Detailed Description

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

Function Documentation

int flash_dev_create ( struct flash_dev_struct dev,
struct class *  best_class 
)

Creates new Flash char device.

Parameters
devStructure with Flash info
best_classClass 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
devStructure with Flash info
best_classClass which this device will be part of