Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rtc-ds1672.c File Reference
#include <linux/i2c.h>
#include <linux/rtc.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define DRV_VERSION   "0.4"
 
#define DS1672_REG_CNT_BASE   0
 
#define DS1672_REG_CONTROL   4
 
#define DS1672_REG_TRICKLE   5
 
#define DS1672_REG_CONTROL_EOSC   0x80
 

Functions

 module_i2c_driver (ds1672_driver)
 
 MODULE_AUTHOR ("Alessandro Zummo <[email protected]>")
 
 MODULE_DESCRIPTION ("Dallas/Maxim DS1672 timekeeper driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define DRV_VERSION   "0.4"

Definition at line 16 of file rtc-ds1672.c.

#define DS1672_REG_CNT_BASE   0

Definition at line 20 of file rtc-ds1672.c.

#define DS1672_REG_CONTROL   4

Definition at line 21 of file rtc-ds1672.c.

#define DS1672_REG_CONTROL_EOSC   0x80

Definition at line 24 of file rtc-ds1672.c.

#define DS1672_REG_TRICKLE   5

Definition at line 22 of file rtc-ds1672.c.

Function Documentation

MODULE_AUTHOR ( "Alessandro Zummo <[email protected]>"  )
MODULE_DESCRIPTION ( "Dallas/Maxim DS1672 timekeeper driver )
module_i2c_driver ( ds1672_driver  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_VERSION  )