linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Thu, 13 Jan 2005 21:16:03 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/01/13 21:15:57

Modified files:
        arch/mips/kernel: Tag: linux_2_4 setup.c 
        arch/mips/lib  : Tag: linux_2_4 rtc-no.c rtc-std.c 

Log message:
        Export rtc_ops just once.

diff -urN linux/arch/mips/kernel/setup.c linux/arch/mips/kernel/setup.c
--- linux/arch/mips/kernel/setup.c      2004/11/22 13:38:23     1.96.2.54
+++ linux/arch/mips/kernel/setup.c      2005/01/13 21:15:57     1.96.2.55
@@ -5,7 +5,7 @@
  *
  * Copyright (C) 1995  Linus Torvalds
  * Copyright (C) 1995  Waldorf Electronics
- * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001  Ralf Baechle
+ * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 01, 05  Ralf Baechle
  * Copyright (C) 1996  Stoned Elipot
  * Copyright (C) 2000, 2001, 2002  Maciej W. Rozycki
  */
@@ -71,6 +71,8 @@
 extern struct rtc_ops no_rtc_ops;
 struct rtc_ops *rtc_ops;
 
+EXPORT_SYMBOL(rtc_ops);
+
 #ifdef CONFIG_PC_KEYB
 struct kbd_ops *kbd_ops;
 #endif
diff -urN linux/arch/mips/lib/rtc-no.c linux/arch/mips/lib/rtc-no.c
--- linux/arch/mips/lib/Attic/rtc-no.c  2004/01/08 18:31:49     1.5.2.2
+++ linux/arch/mips/lib/Attic/rtc-no.c  2005/01/13 21:15:57     1.5.2.3
@@ -6,10 +6,9 @@
  * Stub RTC routines to keep Linux from crashing on machine which don't
  * have a RTC chip.
  *
- * Copyright (C) 1998, 2001 by Ralf Baechle
+ * Copyright (C) 1998, 2001, 2005 by Ralf Baechle
  */
 #include <linux/kernel.h>
-#include <linux/module.h>
 #include <linux/mc146818rtc.h>
 
 static unsigned int shouldnt_happen(void)
@@ -29,5 +28,3 @@
     .rtc_write_data = (void *) &shouldnt_happen,
     .rtc_bcd_mode   = (void *) &shouldnt_happen
 };
-
-EXPORT_SYMBOL(rtc_ops);
diff -urN linux/arch/mips/lib/rtc-std.c linux/arch/mips/lib/rtc-std.c
--- linux/arch/mips/lib/Attic/rtc-std.c 2004/01/08 18:31:49     1.3.2.1
+++ linux/arch/mips/lib/Attic/rtc-std.c 2005/01/13 21:15:57     1.3.2.2
@@ -5,9 +5,8 @@
  *
  * RTC routines for PC style attached Dallas chip.
  *
- * Copyright (C) 1998, 2001 by Ralf Baechle
+ * Copyright (C) 1998, 2001, 05 by Ralf Baechle
  */
-#include <linux/module.h>
 #include <linux/mc146818rtc.h>
 #include <asm/io.h>
 
@@ -33,5 +32,3 @@
        &std_rtc_write_data,
        &std_rtc_bcd_mode
 };
-
-EXPORT_SYMBOL(rtc_ops);

<Prev in Thread] Current Thread [Next in Thread>