diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-01-13 11:59:13 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-01-13 11:59:13 +0100 |
commit | 436fa4a5352cea7fc8eeafe2fc078031d731b471 (patch) | |
tree | 658f2bb222914030916c46e1cc4d81b8466ded30 /libdde_linux26/lib/src/drivers | |
parent | 1b030ec21564529f29c2e557c2254b9f17e762ba (diff) |
Remove the static declaration of initcall functions.
Diffstat (limited to 'libdde_linux26/lib/src/drivers')
-rw-r--r-- | libdde_linux26/lib/src/drivers/pci/pci-driver.c | 2 | ||||
-rw-r--r-- | libdde_linux26/lib/src/drivers/pci/pci.c | 2 | ||||
-rw-r--r-- | libdde_linux26/lib/src/drivers/pci/probe.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libdde_linux26/lib/src/drivers/pci/pci-driver.c b/libdde_linux26/lib/src/drivers/pci/pci-driver.c index ba4e5108..591d9489 100644 --- a/libdde_linux26/lib/src/drivers/pci/pci-driver.c +++ b/libdde_linux26/lib/src/drivers/pci/pci-driver.c @@ -992,7 +992,7 @@ struct bus_type pci_bus_type = { .pm = PCI_PM_OPS_PTR, }; -static int __init pci_driver_init(void) +int __init pci_driver_init(void) { return bus_register(&pci_bus_type); } diff --git a/libdde_linux26/lib/src/drivers/pci/pci.c b/libdde_linux26/lib/src/drivers/pci/pci.c index 05c7b38d..9bf601c3 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; } -static int __init pci_setup(char *str) +int __init pci_setup(char *str) { #ifndef DDE_LINUX while (str) { diff --git a/libdde_linux26/lib/src/drivers/pci/probe.c b/libdde_linux26/lib/src/drivers/pci/probe.c index d68a3023..9cbc3bfb 100644 --- a/libdde_linux26/lib/src/drivers/pci/probe.c +++ b/libdde_linux26/lib/src/drivers/pci/probe.c @@ -100,7 +100,7 @@ static struct class pcibus_class = { .dev_release = &release_pcibus_dev, }; -static int __init pcibus_class_init(void) +int __init pcibus_class_init(void) { return class_register(&pcibus_class); } |