Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
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/nvram.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/nvram.h>

Go to the source code of this file.

Macros

#define NVRAM_VERSION   "1.0"
 
#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 19 of file nvram.c.

#define NVRAM_VERSION   "1.0"

Definition at line 5 of file nvram.c.

Function Documentation

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

Definition at line 123 of file nvram.c.

int __init nvram_init ( void  )

Definition at line 116 of file 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_ioctl,
}

Definition at line 102 of file nvram.c.