Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
generic_nvram.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <asm/nvram.h>

Go to the source code of this file.

Macros

#define NVRAM_VERSION   "1.1"
 
#define NVRAM_SIZE   8192
 

Functions

int __init nvram_init (void)
 
void __exit nvram_cleanup (void)
 
 module_init (nvram_init)
 
 module_exit (nvram_cleanup)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct file_operations nvram_fops
 

Macro Definition Documentation

#define NVRAM_SIZE   8192

Definition at line 29 of file generic_nvram.c.

#define NVRAM_VERSION   "1.1"

Definition at line 12 of file generic_nvram.c.

Function Documentation

module_exit ( nvram_cleanup  )
module_init ( nvram_init  )
MODULE_LICENSE ( "GPL"  )
void __exit nvram_cleanup ( void  )

Definition at line 167 of file generic_nvram.c.

int __init nvram_init ( void  )

Definition at line 149 of file generic_nvram.c.

Variable Documentation

struct file_operations nvram_fops
Initial value:
= {
.owner = THIS_MODULE,
.llseek = nvram_llseek,
.read = read_nvram,
.write = write_nvram,
.unlocked_ioctl = nvram_unlocked_ioctl,
}

Definition at line 135 of file generic_nvram.c.