diff options
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); } |