aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/platforms/85xx/tqm85xx.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-27 18:14:45 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:45 +0100
commiteee87d3196c9a7ac3422f4298e2250ca68d791c1 (patch)
tree754fb40d3684b55cc4a30729511e2fa8a59bab25 /arch/ppc/platforms/85xx/tqm85xx.c
parent569be443e3c1329fc6725988004f5d8a32fe3be5 (diff)
i2c: the scheduled I2C RTC driver removal
This patch contains the scheduled removal of legacy I2C RTC drivers with replacement drivers. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'arch/ppc/platforms/85xx/tqm85xx.c')
-rw-r--r--arch/ppc/platforms/85xx/tqm85xx.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/ppc/platforms/85xx/tqm85xx.c b/arch/ppc/platforms/85xx/tqm85xx.c
index 4ee2bd156dc..27ce389c122 100644
--- a/arch/ppc/platforms/85xx/tqm85xx.c
+++ b/arch/ppc/platforms/85xx/tqm85xx.c
@@ -258,27 +258,6 @@ int tqm85xx_show_cpuinfo(struct seq_file *m)
return 0;
}
-#if defined(CONFIG_I2C) && defined(CONFIG_SENSORS_DS1337)
-extern ulong ds1337_get_rtc_time(void);
-extern int ds1337_set_rtc_time(unsigned long nowtime);
-
-static int __init
-tqm85xx_rtc_hookup(void)
-{
- struct timespec tv;
-
- ppc_md.set_rtc_time = ds1337_set_rtc_time;
- ppc_md.get_rtc_time = ds1337_get_rtc_time;
-
- tv.tv_nsec = 0;
- tv.tv_sec = (ppc_md.get_rtc_time)();
- do_settimeofday(&tv);
-
- return 0;
-}
-late_initcall(tqm85xx_rtc_hookup);
-#endif
-
#ifdef CONFIG_PCI
/*
* interrupt routing