Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55913
b: refs/heads/master
c: 9a3f1d5
h: refs/heads/master
i:
  55911: 56d7247
v: v3
  • Loading branch information
kogiidena authored and Linus Torvalds committed May 11, 2007
1 parent 089b84b commit 55bb865
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e88c553db938ad016026375f0545304b9030b42
refs/heads/master: 9a3f1d53dbf112d2387f8b80682afc1084f9dfc3
2 changes: 1 addition & 1 deletion trunk/drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ config RTC_DRV_BFIN

config RTC_DRV_RS5C313
tristate "Ricoh RS5C313"
depends on RTC_CLASS && BROKEN
depends on RTC_CLASS && SH_LANDISK
help
If you say yes here you get support for the Ricoh RS5C313 RTC chips.

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/rtc/rtc-rs5c313.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void rs5c313_write_data(unsigned char data)
static unsigned char rs5c313_read_data(void)
{
int i;
unsigned char data;
unsigned char data = 0;

for (i = 0; i < 8; i++) {
ndelay(700);
Expand Down Expand Up @@ -194,7 +194,7 @@ static void rs5c313_write_reg(unsigned char addr, unsigned char data)
return;
}

static inline unsigned char rs5c313_read_cntreg(unsigned char addr)
static inline unsigned char rs5c313_read_cntreg(void)
{
return rs5c313_read_reg(RS5C313_ADDR_CNTREG);
}
Expand Down Expand Up @@ -356,7 +356,7 @@ static int rs5c313_rtc_probe(struct platform_device *pdev)

platform_set_drvdata(pdev, rtc);

return err;
return 0;
}

static int __devexit rs5c313_rtc_remove(struct platform_device *pdev)
Expand Down

0 comments on commit 55bb865

Please sign in to comment.