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

Go to the source code of this file.

Data Structures

struct  m48t35_rtc
 
struct  m48t35_priv
 

Macros

#define DRV_VERSION   "1.0"
 
#define M48T35_RTC_SET   0x80
 
#define M48T35_RTC_READ   0x40
 

Functions

 module_platform_driver (m48t35_platform_driver)
 
 MODULE_AUTHOR ("Thomas Bogendoerfer <[email protected]>")
 
 MODULE_DESCRIPTION ("M48T35 RTC driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_ALIAS ("platform:rtc-m48t35")
 

Macro Definition Documentation

#define DRV_VERSION   "1.0"

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

#define M48T35_RTC_READ   0x40

Definition at line 39 of file rtc-m48t35.c.

#define M48T35_RTC_SET   0x80

Definition at line 38 of file rtc-m48t35.c.

Function Documentation

MODULE_ALIAS ( "platform:rtc-m48t35"  )
MODULE_AUTHOR ( "Thomas Bogendoerfer <[email protected]>"  )
MODULE_DESCRIPTION ( "M48T35 RTC driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( m48t35_platform_driver  )
MODULE_VERSION ( DRV_VERSION  )