[2.6 patch] drivers/block/genhd.c: make a function static

From: Adrian Bunk
Date: Mon Nov 29 2004 - 07:28:33 EST


The patch below makes a needlessly global function static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm3-full/drivers/block/genhd.c.old 2004-11-06 20:07:00.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/genhd.c 2004-11-06 20:07:13.000000000 +0100
@@ -305,7 +305,7 @@
return NULL;
}

-int __init device_init(void)
+static int __init device_init(void)
{
bdev_map = kobj_map_init(base_probe, &block_subsys);
blk_dev_init();

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/