CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/01/14 23:59:07
Modified files:
arch/mips/au1000/hydrogen3: board_setup.c
arch/mips/au1000/csb250: board_setup.c
Log message:
RTC bitrot.
diff -urN linux/arch/mips/au1000/hydrogen3/board_setup.c
linux/arch/mips/au1000/hydrogen3/board_setup.c
--- linux/arch/mips/au1000/hydrogen3/board_setup.c 2004/09/14 06:38:46
1.4
+++ linux/arch/mips/au1000/hydrogen3/board_setup.c 2005/01/14 23:59:06
1.5
@@ -45,8 +45,6 @@
#include <asm/pgtable.h>
#include <asm/au1000.h>
-extern struct rtc_ops no_rtc_ops;
-
void board_reset (void)
{
}
@@ -55,8 +53,6 @@
{
u32 pin_func;
- rtc_ops = &no_rtc_ops;
-
#ifdef CONFIG_AU1X00_USB_DEVICE
// 2nd USB port is USB device
pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000);
diff -urN linux/arch/mips/au1000/csb250/board_setup.c
linux/arch/mips/au1000/csb250/board_setup.c
--- linux/arch/mips/au1000/csb250/board_setup.c 2005/01/14 23:56:38 1.3
+++ linux/arch/mips/au1000/csb250/board_setup.c 2005/01/14 23:59:07 1.4
@@ -45,10 +45,6 @@
#include <asm/au1000.h>
#include <asm/csb250.h>
-#ifdef CONFIG_RTC
-extern struct rtc_ops csb250_rtc_ops;
-#endif
-
extern int (*board_pci_idsel)(unsigned int devsel, int assert);
int csb250_pci_idsel(unsigned int devsel, int assert);
@@ -197,7 +193,6 @@
au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL);
#ifdef CONFIG_RTC
- rtc_ops = &csb250_rtc_ops;
// Enable the RTC if not already enabled
if (!(au_readl(0xac000028) & 0x20)) {
printk("enabling clock ...\n");
|