[PATCH] fix include/linux/mc146818rtc.h

From: Paul Mackerras (paulus@samba.org)
Date: Mon Sep 03 2001 - 07:06:29 EST


include/linux/mc146818rtc.h declares a spinlock but doesn't include
<linux/spinlock.h>. This patch fixes that.

Paul.

diff -urN linux/include/linux/mc146818rtc.h linuxppc_2_4/include/linux/mc146818rtc.h
--- linux/include/linux/mc146818rtc.h Mon Apr 2 02:21:50 2001
+++ linuxppc_2_4/include/linux/mc146818rtc.h Thu Aug 16 07:49:52 2001
@@ -13,6 +13,7 @@
 
 #include <asm/io.h>
 #include <linux/rtc.h> /* get the user-level API */
+#include <linux/spinlock.h> /* spinlock_t */
 #include <asm/mc146818rtc.h> /* register access macros */
 
 extern spinlock_t rtc_lock; /* serialize CMOS RAM access */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:18 EST