#include <linux/fs.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
#include <linux/bcd.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <asm/rtc.h>
Go to the source code of this file.
#define MAGIC_PATTERN 0x42 |
#define RTC_MAJOR_NR 121 /* local major, change later */ |
! ! FILE NAME : ds1302.c ! ! DESCRIPTION: Implements an interface for
the DS1302 RTC ! ! Functions exported: ds1302_readreg, ds1302_writereg, ds1302_init, get_rtc_status ! ! ------------------------------------------------------------------------— ! ! (C) Copyright 1999, 2000, 2001 Axis Communications AB, LUND, SWEDEN ! !
Definition at line 32 of file ds1302.c.
unsigned char ds1302_readreg |
( |
int |
reg | ) |
|
module_init |
( |
ds1302_register |
| ) |
|