Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bfin-otp.c File Reference
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/types.h>
#include <mtd/mtd-abi.h>
#include <asm/blackfin.h>
#include <asm/bfrom.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define stamp(fmt, args...)   pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args)
 
#define stampit()   stamp("here i am")
 
#define pr_init(fmt, args...)   ({ static const __initconst char __fmt[] = fmt; printk(__fmt, ## args); })
 
#define DRIVER_NAME   "bfin-otp"
 
#define PFX   DRIVER_NAME ": "
 
#define bfin_otp_write   NULL
 
#define bfin_otp_ioctl   NULL
 

Functions

 module_init (bfin_otp_init)
 
 module_exit (bfin_otp_exit)
 
 MODULE_AUTHOR ("Mike Frysinger <[email protected]>")
 
 MODULE_DESCRIPTION ("Blackfin OTP Memory Interface")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define bfin_otp_ioctl   NULL

Definition at line 217 of file bfin-otp.c.

#define bfin_otp_write   NULL

Definition at line 216 of file bfin-otp.c.

#define DRIVER_NAME   "bfin-otp"

Definition at line 29 of file bfin-otp.c.

#define PFX   DRIVER_NAME ": "

Definition at line 30 of file bfin-otp.c.

#define pr_init (   fmt,
  args... 
)    ({ static const __initconst char __fmt[] = fmt; printk(__fmt, ## args); })

Definition at line 27 of file bfin-otp.c.

#define stamp (   fmt,
  args... 
)    pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args)

Definition at line 25 of file bfin-otp.c.

#define stampit ( )    stamp("here i am")

Definition at line 26 of file bfin-otp.c.

Function Documentation

MODULE_AUTHOR ( "Mike Frysinger <[email protected]>"  )
MODULE_DESCRIPTION ( "Blackfin OTP Memory Interface )
module_exit ( bfin_otp_exit  )
module_init ( bfin_otp_init  )
MODULE_LICENSE ( "GPL"  )