summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mc146818rtc.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-15 03:07:32 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-15 03:07:32 +0000
commit00f11569ac8ca73cbcdef8822de1583e79aee571 (patch)
tree885056601a5d892577d3766cd39de5e0349df5ef /include/asm-mips/mc146818rtc.h
parentb9bc325e1946507c23965bdeda759f7dbbbbb6a7 (diff)
Portability cleanup as required by Linus.
Diffstat (limited to 'include/asm-mips/mc146818rtc.h')
-rw-r--r--include/asm-mips/mc146818rtc.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/asm-mips/mc146818rtc.h b/include/asm-mips/mc146818rtc.h
index 4ed782fc6..bae7fcd1a 100644
--- a/include/asm-mips/mc146818rtc.h
+++ b/include/asm-mips/mc146818rtc.h
@@ -1,12 +1,11 @@
-/* $Id: mc146818rtc.h,v 1.2 1998/06/30 00:23:10 ralf Exp $
- *
+/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Machine dependent access functions for RTC registers.
*
- * Copyright (C) 1996, 1997, 1998 Ralf Baechle
+ * Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle
*/
#ifndef _ASM_MC146818RTC_H
#define _ASM_MC146818RTC_H
@@ -43,4 +42,10 @@ struct rtc_ops {
extern struct rtc_ops *rtc_ops;
+#ifdef CONFIG_DECSTATION
+#define RTC_IRQ 0
+#else
+#define RTC_IRQ 8
+#endif
+
#endif /* _ASM_MC146818RTC_H */