summaryrefslogtreecommitdiff
path: root/libdde_linux26
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-01-13 11:59:13 +0100
committerZheng Da <zhengda1936@gmail.com>2010-01-13 11:59:13 +0100
commit436fa4a5352cea7fc8eeafe2fc078031d731b471 (patch)
tree658f2bb222914030916c46e1cc4d81b8466ded30 /libdde_linux26
parent1b030ec21564529f29c2e557c2254b9f17e762ba (diff)
Remove the static declaration of initcall functions.
Diffstat (limited to 'libdde_linux26')
-rw-r--r--libdde_linux26/contrib/arch/x86/kernel/pci-dma.c2
-rw-r--r--libdde_linux26/contrib/block/blk-ioc.c2
-rw-r--r--libdde_linux26/contrib/block/blk-settings.c2
-rw-r--r--libdde_linux26/contrib/block/blk-softirq.c2
-rw-r--r--libdde_linux26/contrib/block/noop-iosched.c2
-rw-r--r--libdde_linux26/contrib/fs/bio.c2
-rw-r--r--libdde_linux26/contrib/mm/backing-dev.c2
-rw-r--r--libdde_linux26/contrib/net/core/neighbour.c2
-rw-r--r--libdde_linux26/lib/src/arch/l4/page_alloc.c2
-rw-r--r--libdde_linux26/lib/src/block/genhd.c2
-rw-r--r--libdde_linux26/lib/src/drivers/pci/pci-driver.c2
-rw-r--r--libdde_linux26/lib/src/drivers/pci/pci.c2
-rw-r--r--libdde_linux26/lib/src/drivers/pci/probe.c2
-rw-r--r--libdde_linux26/lib/src/net/core/dev.c2
-rw-r--r--libdde_linux26/lib/src/net/core/net_namespace.c2
15 files changed, 15 insertions, 15 deletions
diff --git a/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c b/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c
index 80e9f10e..3a26519b 100644
--- a/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c
+++ b/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c
@@ -263,7 +263,7 @@ int dma_supported(struct device *dev, u64 mask)
}
EXPORT_SYMBOL(dma_supported);
-static int __init pci_iommu_init(void)
+int __init pci_iommu_init(void)
{
calgary_iommu_init();
diff --git a/libdde_linux26/contrib/block/blk-ioc.c b/libdde_linux26/contrib/block/blk-ioc.c
index e067a82a..b3292405 100644
--- a/libdde_linux26/contrib/block/blk-ioc.c
+++ b/libdde_linux26/contrib/block/blk-ioc.c
@@ -171,7 +171,7 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc)
}
EXPORT_SYMBOL(copy_io_context);
-static int __init blk_ioc_init(void)
+int __init blk_ioc_init(void)
{
iocontext_cachep = kmem_cache_create("blkdev_ioc",
sizeof(struct io_context), 0, SLAB_PANIC, NULL);
diff --git a/libdde_linux26/contrib/block/blk-settings.c b/libdde_linux26/contrib/block/blk-settings.c
index ad0af33c..2178202f 100644
--- a/libdde_linux26/contrib/block/blk-settings.c
+++ b/libdde_linux26/contrib/block/blk-settings.c
@@ -463,7 +463,7 @@ void blk_queue_update_dma_alignment(struct request_queue *q, int mask)
}
EXPORT_SYMBOL(blk_queue_update_dma_alignment);
-static int __init blk_settings_init(void)
+int __init blk_settings_init(void)
{
blk_max_low_pfn = max_low_pfn - 1;
blk_max_pfn = max_pfn - 1;
diff --git a/libdde_linux26/contrib/block/blk-softirq.c b/libdde_linux26/contrib/block/blk-softirq.c
index e9a18af7..34041d14 100644
--- a/libdde_linux26/contrib/block/blk-softirq.c
+++ b/libdde_linux26/contrib/block/blk-softirq.c
@@ -161,7 +161,7 @@ void blk_complete_request(struct request *req)
}
EXPORT_SYMBOL(blk_complete_request);
-static __init int blk_softirq_init(void)
+__init int blk_softirq_init(void)
{
int i;
diff --git a/libdde_linux26/contrib/block/noop-iosched.c b/libdde_linux26/contrib/block/noop-iosched.c
index e78234a9..a7618fdb 100644
--- a/libdde_linux26/contrib/block/noop-iosched.c
+++ b/libdde_linux26/contrib/block/noop-iosched.c
@@ -101,7 +101,7 @@ static struct elevator_type elevator_noop = {
.elevator_owner = THIS_MODULE,
};
-static int __init noop_init(void)
+int __init noop_init(void)
{
DEBUG_MSG("here!");
elv_register(&elevator_noop);
diff --git a/libdde_linux26/contrib/fs/bio.c b/libdde_linux26/contrib/fs/bio.c
index a59a1488..7e0238b8 100644
--- a/libdde_linux26/contrib/fs/bio.c
+++ b/libdde_linux26/contrib/fs/bio.c
@@ -1592,7 +1592,7 @@ static void __init biovec_init_slabs(void)
}
}
-static int __init init_bio(void)
+int __init init_bio(void)
{
bio_slab_max = 2;
bio_slab_nr = 0;
diff --git a/libdde_linux26/contrib/mm/backing-dev.c b/libdde_linux26/contrib/mm/backing-dev.c
index 32f604bc..25ebba9a 100644
--- a/libdde_linux26/contrib/mm/backing-dev.c
+++ b/libdde_linux26/contrib/mm/backing-dev.c
@@ -159,7 +159,7 @@ static struct device_attribute bdi_dev_attrs[] = {
__ATTR_NULL,
};
-static __init int bdi_class_init(void)
+__init int bdi_class_init(void)
{
bdi_class = class_create(THIS_MODULE, "bdi");
bdi_class->dev_attrs = bdi_dev_attrs;
diff --git a/libdde_linux26/contrib/net/core/neighbour.c b/libdde_linux26/contrib/net/core/neighbour.c
index 4a90e322..02dc8bda 100644
--- a/libdde_linux26/contrib/net/core/neighbour.c
+++ b/libdde_linux26/contrib/net/core/neighbour.c
@@ -2808,7 +2808,7 @@ EXPORT_SYMBOL(neigh_sysctl_unregister);
#endif /* CONFIG_SYSCTL */
-static int __init neigh_init(void)
+int __init neigh_init(void)
{
rtnl_register(PF_UNSPEC, RTM_NEWNEIGH, neigh_add, NULL);
rtnl_register(PF_UNSPEC, RTM_DELNEIGH, neigh_delete, NULL);
diff --git a/libdde_linux26/lib/src/arch/l4/page_alloc.c b/libdde_linux26/lib/src/arch/l4/page_alloc.c
index a418cc65..7c4faa0e 100644
--- a/libdde_linux26/lib/src/arch/l4/page_alloc.c
+++ b/libdde_linux26/lib/src/arch/l4/page_alloc.c
@@ -264,7 +264,7 @@ void *__init alloc_large_system_hash(const char *tablename,
}
-static void __init dde_page_cache_init(void)
+void __init dde_page_cache_init(void)
{
printk("Initializing DDE page cache\n");
int i=0;
diff --git a/libdde_linux26/lib/src/block/genhd.c b/libdde_linux26/lib/src/block/genhd.c
index 9028c31c..f9a205f5 100644
--- a/libdde_linux26/lib/src/block/genhd.c
+++ b/libdde_linux26/lib/src/block/genhd.c
@@ -792,7 +792,7 @@ static struct kobject *base_probe(dev_t devt, int *partno, void *data)
return NULL;
}
-static int __init genhd_device_init(void)
+int __init genhd_device_init(void)
{
int error;
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);
}
diff --git a/libdde_linux26/lib/src/net/core/dev.c b/libdde_linux26/lib/src/net/core/dev.c
index 7afb2553..e66f1da2 100644
--- a/libdde_linux26/lib/src/net/core/dev.c
+++ b/libdde_linux26/lib/src/net/core/dev.c
@@ -5184,7 +5184,7 @@ static struct pernet_operations __net_initdata default_device_ops = {
* This is called single threaded during boot, so no need
* to take the rtnl semaphore.
*/
-static int __init net_dev_init(void)
+int __init net_dev_init(void)
{
int i, rc = -ENOMEM;
diff --git a/libdde_linux26/lib/src/net/core/net_namespace.c b/libdde_linux26/lib/src/net/core/net_namespace.c
index e1f05049..29f29621 100644
--- a/libdde_linux26/lib/src/net/core/net_namespace.c
+++ b/libdde_linux26/lib/src/net/core/net_namespace.c
@@ -202,7 +202,7 @@ struct net *copy_net_ns(unsigned long flags, struct net *old_net)
}
#endif
-static int __init net_ns_init(void)
+int __init net_ns_init(void)
{
struct net_generic *ng;
int err;