Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
autcpu12.c File Reference
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
#include <mach/hardware.h>
#include <asm/sizes.h>
#include <mach/autcpu12.h>

Go to the source code of this file.

Macros

#define NUM_PARTITIONS16K   2
 
#define NUM_PARTITIONS32K   2
 
#define NUM_PARTITIONS64K   2
 
#define NUM_PARTITIONS128K   2
 

Functions

int autcpu12_device_ready (struct mtd_info *mtd)
 
 module_init (autcpu12_init)
 
 module_exit (autcpu12_cleanup)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Thomas Gleixner <[email protected]>")
 
 MODULE_DESCRIPTION ("Glue layer for SmartMediaCard on autronix autcpu12")
 

Macro Definition Documentation

#define NUM_PARTITIONS128K   2

Definition at line 87 of file autcpu12.c.

#define NUM_PARTITIONS16K   2

Definition at line 84 of file autcpu12.c.

#define NUM_PARTITIONS32K   2

Definition at line 85 of file autcpu12.c.

#define NUM_PARTITIONS64K   2

Definition at line 86 of file autcpu12.c.

Function Documentation

int autcpu12_device_ready ( struct mtd_info mtd)

Definition at line 121 of file autcpu12.c.

MODULE_AUTHOR ( "Thomas Gleixner <[email protected]>"  )
MODULE_DESCRIPTION ( "Glue layer for SmartMediaCard on autronix autcpu12"  )
module_exit ( autcpu12_cleanup  )
module_init ( autcpu12_init  )
MODULE_LICENSE ( "GPL"  )