Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114680
b: refs/heads/master
c: 656e950
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Oct 15, 2008
1 parent 9991b6b commit 17c79a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 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: d1dbd82e2ff02181a7102088a9fe83e17ddbcb47
refs/heads/master: 656e9503bae1dbc7b0e8c709715e5eda9ae82653
16 changes: 16 additions & 0 deletions trunk/arch/mips/sgi-ip32/ip32-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,22 @@ static __init int sgio2btns_devinit(void)

device_initcall(sgio2btns_devinit);

static struct resource sgio2_cmos_rsrc[] = {
{
.start = 0x70,
.end = 0x71,
.flags = IORESOURCE_IO
}
};

static __init int sgio2_cmos_devinit(void)
{
return IS_ERR(platform_device_register_simple("rtc_cmos", -1,
sgio2_cmos_rsrc, 1));
}

device_initcall(sgio2_cmos_devinit);

MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("8250 UART probe driver for SGI IP32 aka O2");
5 changes: 0 additions & 5 deletions trunk/arch/mips/sgi-ip32/ip32-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ static inline void str2eaddr(unsigned char *ea, unsigned char *str)
}
#endif

unsigned long read_persistent_clock(void)
{
return mc146818_get_cmos_time();
}

/* An arbitrary time; this can be decreased if reliability looks good */
#define WAIT_MS 10

Expand Down

0 comments on commit 17c79a5

Please sign in to comment.