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

Go to the source code of this file.

Data Structures

struct  ds1216_regs
 
struct  ds1216_priv
 

Macros

#define DRV_VERSION   "0.2"
 
#define DS1216_HOUR_1224   (1 << 7)
 
#define DS1216_HOUR_AMPM   (1 << 5)
 

Functions

 MODULE_AUTHOR ("Thomas Bogendoerfer <[email protected]>")
 
 MODULE_DESCRIPTION ("DS1216 RTC driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_ALIAS ("platform:rtc-ds1216")
 
 module_init (ds1216_rtc_init)
 
 module_exit (ds1216_rtc_exit)
 

Macro Definition Documentation

#define DRV_VERSION   "0.2"

Definition at line 14 of file rtc-ds1216.c.

#define DS1216_HOUR_1224   (1 << 7)

Definition at line 27 of file rtc-ds1216.c.

#define DS1216_HOUR_AMPM   (1 << 5)

Definition at line 28 of file rtc-ds1216.c.

Function Documentation

MODULE_ALIAS ( "platform:rtc-ds1216"  )
MODULE_AUTHOR ( "Thomas Bogendoerfer <[email protected]>"  )
MODULE_DESCRIPTION ( "DS1216 RTC driver )
module_exit ( ds1216_rtc_exit  )
module_init ( ds1216_rtc_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_VERSION  )