[PATCH] fix include/linux/mc146818rtc.h

Paul Mackerras (paulus@samba.org)
Mon, 3 Sep 2001 22:06:29 +1000 (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/