summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib/src/drivers/pci/pci.c
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-01-16 01:21:07 +0100
committerZheng Da <zhengda1936@gmail.com>2010-01-16 01:21:07 +0100
commit2680eecc499e43679be098e5834d4f3a62f59a0c (patch)
tree32771b7ae2f930a6f107f9c86d7de03f9622f03f /libdde_linux26/lib/src/drivers/pci/pci.c
parent51299b970600d28df634708557f80df3526014ae (diff)
prepare to use initcall to do initialization.
Diffstat (limited to 'libdde_linux26/lib/src/drivers/pci/pci.c')
-rw-r--r--libdde_linux26/lib/src/drivers/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdde_linux26/lib/src/drivers/pci/pci.c b/libdde_linux26/lib/src/drivers/pci/pci.c
index 9bf601c3..f67bf734 100644
--- a/libdde_linux26/lib/src/drivers/pci/pci.c
+++ b/libdde_linux26/lib/src/drivers/pci/pci.c
@@ -2404,7 +2404,7 @@ int __devinit pci_init(void)
return 0;
}
-int __init pci_setup(char *str)
+static int __init pci_setup(char *str)
{
#ifndef DDE_LINUX
while (str) {
@@ -2434,7 +2434,7 @@ int __init pci_setup(char *str)
}
early_param("pci", pci_setup);
-//device_initcall(pci_init);
+device_initcall(pci_init);
EXPORT_SYMBOL(pci_reenable_device);
EXPORT_SYMBOL(pci_enable_device_io);