Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/nand-gpio.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_gpio.h>

Go to the source code of this file.

Data Structures

struct  gpiomtd
 

Macros

#define gpio_nand_getpriv(x)   container_of(x, struct gpiomtd, mtd_info)
 
#define gpio_nand_id_table   NULL
 

Functions

 module_platform_driver (gpio_nand_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Ben Dooks <[email protected]>")
 
 MODULE_DESCRIPTION ("GPIO NAND Driver")
 

Macro Definition Documentation

#define gpio_nand_getpriv (   x)    container_of(x, struct gpiomtd, mtd_info)

Definition at line 41 of file gpio.c.

#define gpio_nand_id_table   NULL

Definition at line 189 of file gpio.c.

Function Documentation

MODULE_AUTHOR ( "Ben Dooks <[email protected]>"  )
MODULE_DESCRIPTION ( "GPIO NAND Driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( gpio_nand_driver  )