diff options
Diffstat (limited to 'arch/sh/boards/snapgear/rtc.c')
-rw-r--r-- | arch/sh/boards/snapgear/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/snapgear/rtc.c b/arch/sh/boards/snapgear/rtc.c index 1659fdd6695a..edb3dd936cbb 100644 --- a/arch/sh/boards/snapgear/rtc.c +++ b/arch/sh/boards/snapgear/rtc.c | |||
@@ -108,7 +108,7 @@ static void ds1302_writebyte(unsigned int addr, unsigned int val) | |||
108 | static void ds1302_reset(void) | 108 | static void ds1302_reset(void) |
109 | { | 109 | { |
110 | unsigned long flags; | 110 | unsigned long flags; |
111 | /* Hardware dependant reset/init */ | 111 | /* Hardware dependent reset/init */ |
112 | local_irq_save(flags); | 112 | local_irq_save(flags); |
113 | set_dirp(get_dirp() | RTC_RESET | RTC_IODATA | RTC_SCLK); | 113 | set_dirp(get_dirp() | RTC_RESET | RTC_IODATA | RTC_SCLK); |
114 | set_dp(get_dp() & ~(RTC_RESET | RTC_IODATA | RTC_SCLK)); | 114 | set_dp(get_dp() & ~(RTC_RESET | RTC_IODATA | RTC_SCLK)); |