summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-12 16:51:20 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-12 16:51:20 +0000
commit4a95a0754b1e0ce867f2021acc82d6c7df555e7d (patch)
tree910027521b9479637fe024abe1e32e5f5192a753
parent6052d3bfa1c3cc79f1d673af2677bcbde3c97086 (diff)
Hack into a shape ready to be merged and send patch off to Linus.
-rw-r--r--drivers/char/rtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index 9809952ea..4bce85a85 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -54,6 +54,7 @@
* this driver.)
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
@@ -474,6 +475,7 @@ static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
spin_unlock_irq(&rtc_lock);
return 0;
}
+#elif !defined(CONFIG_DECSTATION)
case RTC_EPOCH_READ: /* Read the epoch. */
{
return put_user (epoch, (unsigned long *)arg);