summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib/src/drivers/pci/probe.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/probe.c
parent51299b970600d28df634708557f80df3526014ae (diff)
prepare to use initcall to do initialization.
Diffstat (limited to 'libdde_linux26/lib/src/drivers/pci/probe.c')
-rw-r--r--libdde_linux26/lib/src/drivers/pci/probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdde_linux26/lib/src/drivers/pci/probe.c b/libdde_linux26/lib/src/drivers/pci/probe.c
index 9cbc3bfb..32da5108 100644
--- a/libdde_linux26/lib/src/drivers/pci/probe.c
+++ b/libdde_linux26/lib/src/drivers/pci/probe.c
@@ -100,11 +100,11 @@ static struct class pcibus_class = {
.dev_release = &release_pcibus_dev,
};
-int __init pcibus_class_init(void)
+static int __init pcibus_class_init(void)
{
return class_register(&pcibus_class);
}
-//postcore_initcall(pcibus_class_init);
+postcore_initcall(pcibus_class_init);
/*
* Translate the low bits of the PCI base