Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
flash.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/fcntl.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/upa.h>

Go to the source code of this file.

Macros

#define FLASH_MINOR   152
 

Functions

 MODULE_DEVICE_TABLE (of, flash_match)
 
 module_platform_driver (flash_driver)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define FLASH_MINOR   152

Definition at line 34 of file flash.c.

Function Documentation

MODULE_DEVICE_TABLE ( of  ,
flash_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( flash_driver  )

Variable Documentation

unsigned long busy

Definition at line 31 of file flash.c.

unsigned long read_base

Definition at line 27 of file flash.c.

unsigned long read_size

Definition at line 29 of file flash.c.

unsigned long write_base

Definition at line 28 of file flash.c.

unsigned long write_size

Definition at line 30 of file flash.c.