diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-09-13 18:51:26 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-12 02:46:04 +0400 |
commit | d5ab1a6910fe850fa092888f210cf6c43136a7ab (patch) | |
tree | 142f9f35f0d9fc6e675caf42a1cd8a82b56aa8e9 /arch/mips/cobalt/rtc.c | |
parent | 718f05f6ddc171a90fb7a277be6f6f65b4ca82be (diff) | |
download | linux-d5ab1a6910fe850fa092888f210cf6c43136a7ab.tar.xz |
[MIPS] Add GT641xx IRQ routines.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt/rtc.c')
-rw-r--r-- | arch/mips/cobalt/rtc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/cobalt/rtc.c b/arch/mips/cobalt/rtc.c index 284daefc5c55..e70794b8bcba 100644 --- a/arch/mips/cobalt/rtc.c +++ b/arch/mips/cobalt/rtc.c @@ -20,6 +20,7 @@ #include <linux/errno.h> #include <linux/init.h> #include <linux/ioport.h> +#include <linux/mc146818rtc.h> #include <linux/platform_device.h> static struct resource cobalt_rtc_resource[] __initdata = { @@ -29,8 +30,8 @@ static struct resource cobalt_rtc_resource[] __initdata = { .flags = IORESOURCE_IO, }, { - .start = 8, - .end = 8, + .start = RTC_IRQ, + .end = RTC_IRQ, .flags = IORESOURCE_IRQ, }, }; |