summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1302.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds1302.c')
-rw-r--r--drivers/rtc/ds1302.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c
index 3a856c840ac..e4e9154754e 100644
--- a/drivers/rtc/ds1302.c
+++ b/drivers/rtc/ds1302.c
@@ -66,7 +66,7 @@ struct ds1302_st
unsigned char month:4;
unsigned char zero4:5;
- unsigned char day:3; /* day of week */
+ unsigned char day:3; /* day of week */
unsigned char year10:4;
unsigned char year:4;
@@ -191,7 +191,7 @@ write_ser_drv(unsigned char addr, unsigned char *buf, int count)
void
rtc_init(void)
{
- struct ds1302_st bbclk;
+ struct ds1302_st bbclk;
unsigned char b;
int mod;