diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-27 18:14:45 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 18:14:45 +0100 |
commit | eee87d3196c9a7ac3422f4298e2250ca68d791c1 (patch) | |
tree | 754fb40d3684b55cc4a30729511e2fa8a59bab25 /arch/ppc/platforms/83xx/mpc834x_sys.c | |
parent | i2c-stub: Use a single array for byte and word operations (diff) | |
download | linux-dev-eee87d3196c9a7ac3422f4298e2250ca68d791c1.tar.xz linux-dev-eee87d3196c9a7ac3422f4298e2250ca68d791c1.zip |
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 '')
-rw-r--r-- | arch/ppc/platforms/83xx/mpc834x_sys.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/ppc/platforms/83xx/mpc834x_sys.c b/arch/ppc/platforms/83xx/mpc834x_sys.c index b84f8df325c4..cb0a7493ff64 100644 --- a/arch/ppc/platforms/83xx/mpc834x_sys.c +++ b/arch/ppc/platforms/83xx/mpc834x_sys.c @@ -224,26 +224,6 @@ mpc834x_sys_init_IRQ(void) ipic_set_default_priority(); } -#if defined(CONFIG_I2C_MPC) && defined(CONFIG_SENSORS_DS1374) -extern ulong ds1374_get_rtc_time(void); -extern int ds1374_set_rtc_time(ulong); - -static int __init -mpc834x_rtc_hookup(void) -{ - struct timespec tv; - - ppc_md.get_rtc_time = ds1374_get_rtc_time; - ppc_md.set_rtc_time = ds1374_set_rtc_time; - - tv.tv_nsec = 0; - tv.tv_sec = (ppc_md.get_rtc_time)(); - do_settimeofday(&tv); - - return 0; -} -late_initcall(mpc834x_rtc_hookup); -#endif static __inline__ void mpc834x_sys_set_bat(void) { |