diff options
author | Paul Mackerras <paulus@samba.org> | 2008-01-30 19:25:51 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-30 19:25:51 -0500 |
commit | bd45ac0c5daae35e7c71138172e63df5cf644cf6 (patch) | |
tree | 5eb5a599bf6a9d7a8a34e802db932aa9e9555de4 /arch/ppc/platforms | |
parent | 4eece4ccf997c0e6d8fdad3d842e37b16b8d705f (diff) | |
parent | 5bdeae46be6dfe9efa44a548bd622af325f4bdb4 (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'arch/ppc/platforms')
-rw-r--r-- | arch/ppc/platforms/katana.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/ppc/platforms/katana.c b/arch/ppc/platforms/katana.c index 52f63e6f0856..fe6e88cdb1cd 100644 --- a/arch/ppc/platforms/katana.c +++ b/arch/ppc/platforms/katana.c | |||
@@ -838,27 +838,6 @@ katana_find_end_of_memory(void) | |||
838 | return bdp->bi_memsize; | 838 | return bdp->bi_memsize; |
839 | } | 839 | } |
840 | 840 | ||
841 | #if defined(CONFIG_I2C_MV64XXX) && defined(CONFIG_SENSORS_M41T00) | ||
842 | extern ulong m41t00_get_rtc_time(void); | ||
843 | extern int m41t00_set_rtc_time(ulong); | ||
844 | |||
845 | static int __init | ||
846 | katana_rtc_hookup(void) | ||
847 | { | ||
848 | struct timespec tv; | ||
849 | |||
850 | ppc_md.get_rtc_time = m41t00_get_rtc_time; | ||
851 | ppc_md.set_rtc_time = m41t00_set_rtc_time; | ||
852 | |||
853 | tv.tv_nsec = 0; | ||
854 | tv.tv_sec = (ppc_md.get_rtc_time)(); | ||
855 | do_settimeofday(&tv); | ||
856 | |||
857 | return 0; | ||
858 | } | ||
859 | late_initcall(katana_rtc_hookup); | ||
860 | #endif | ||
861 | |||
862 | #if defined(CONFIG_SERIAL_TEXT_DEBUG) && defined(CONFIG_SERIAL_MPSC_CONSOLE) | 841 | #if defined(CONFIG_SERIAL_TEXT_DEBUG) && defined(CONFIG_SERIAL_MPSC_CONSOLE) |
863 | static void __init | 842 | static void __init |
864 | katana_map_io(void) | 843 | katana_map_io(void) |