rtc-pcf8583.c (c58310bf4933986513020fa90b4190c7492995ae) | rtc-pcf8583.c (77459b059b02c16b2c8cbc39b524941a576ad36e) |
---|---|
1/* 2 * drivers/rtc/rtc-pcf8583.c 3 * 4 * Copyright (C) 2000 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * Driver for PCF8583 RTC & RAM chip 11 * 12 * Converted to the generic RTC susbsystem by G. Liakhovetski (2006) 13 */ 14#include <linux/module.h> 15#include <linux/i2c.h> 16#include <linux/slab.h> 17#include <linux/string.h> | 1/* 2 * drivers/rtc/rtc-pcf8583.c 3 * 4 * Copyright (C) 2000 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * Driver for PCF8583 RTC & RAM chip 11 * 12 * Converted to the generic RTC susbsystem by G. Liakhovetski (2006) 13 */ 14#include <linux/module.h> 15#include <linux/i2c.h> 16#include <linux/slab.h> 17#include <linux/string.h> |
18#include <linux/mc146818rtc.h> | 18#include <linux/rtc.h> |
19#include <linux/init.h> 20#include <linux/errno.h> 21#include <linux/bcd.h> 22 23struct rtc_mem { 24 unsigned int loc; 25 unsigned int nr; 26 unsigned char *data; --- 362 unchanged lines hidden --- | 19#include <linux/init.h> 20#include <linux/errno.h> 21#include <linux/bcd.h> 22 23struct rtc_mem { 24 unsigned int loc; 25 unsigned int nr; 26 unsigned char *data; --- 362 unchanged lines hidden --- |