aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/mac/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c
index 0f118ca156d9..e023fc6b37e5 100644
--- a/arch/m68k/mac/misc.c
+++ b/arch/m68k/mac/misc.c
@@ -91,7 +91,7 @@ static void cuda_write_pram(int offset, __u8 data)
91#define cuda_write_pram NULL 91#define cuda_write_pram NULL
92#endif 92#endif
93 93
94#if 0 /* def CONFIG_ADB_PMU68K */ 94#ifdef CONFIG_ADB_PMU68K
95static long pmu_read_time(void) 95static long pmu_read_time(void)
96{ 96{
97 struct adb_request req; 97 struct adb_request req;
@@ -102,8 +102,8 @@ static long pmu_read_time(void)
102 while (!req.complete) 102 while (!req.complete)
103 pmu_poll(); 103 pmu_poll();
104 104
105 time = (req.reply[0] << 24) | (req.reply[1] << 16) 105 time = (req.reply[1] << 24) | (req.reply[2] << 16)
106 | (req.reply[2] << 8) | req.reply[3]; 106 | (req.reply[3] << 8) | req.reply[4];
107 return time - RTC_OFFSET; 107 return time - RTC_OFFSET;
108} 108}
109 109