Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
efirtc.c File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/rtc.h>
#include <linux/proc_fs.h>
#include <linux/efi.h>
#include <linux/uaccess.h>

Go to the source code of this file.

Macros

#define EFI_RTC_VERSION   "0.4"
 
#define EFI_ISDST   (EFI_TIME_ADJUST_DAYLIGHT|EFI_TIME_IN_DAYLIGHT)
 
#define EFI_RTC_EPOCH   1998
 
#define is_leap(year)   ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
 

Functions

 module_init (efi_rtc_init)
 
 module_exit (efi_rtc_exit)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

Definition at line 43 of file efirtc.c.

#define EFI_RTC_EPOCH   1998

Definition at line 47 of file efirtc.c.

#define EFI_RTC_VERSION   "0.4"

Definition at line 41 of file efirtc.c.

#define is_leap (   year)    ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))

Definition at line 54 of file efirtc.c.

Function Documentation

module_exit ( efi_rtc_exit  )
module_init ( efi_rtc_init  )
MODULE_LICENSE ( "GPL"  )