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: ths@linux-mips.org
Date: Sun, 03 Jul 2005 20:07:25 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ths@ftp.linux-mips.org  05/07/03 20:07:19

Modified files:
        arch/mips/pci  : pci-lasat.c 

Log message:
        Resurrect lasat. Two plat_setup functions are one to many.

diff -urN linux/arch/mips/pci/pci-lasat.c linux/arch/mips/pci/pci-lasat.c
--- linux/arch/mips/pci/pci-lasat.c     2005/06/21 13:56:31     1.10
+++ linux/arch/mips/pci/pci-lasat.c     2005/07/03 19:07:19     1.11
@@ -34,7 +34,7 @@
        .io_resource    = &lasat_pci_io_resource,
 };
 
-void __init plat_setup(void)
+static int __init lasat_pci_setup(void)
 {
        printk("PCI: starting\n");
 
@@ -50,8 +50,12 @@
         }
 
        register_pci_controller(&lasat_pci_controller);
+
+       return 0;
 }
 
+arch_initcall(lasat_pci_setup);
+
 #define LASATINT_ETH1   0
 #define LASATINT_ETH0   1
 #define LASATINT_HDC    2

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