aboutsummaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAlasdair G Kergon2008-02-08 02:09:51 +0000
committerAlasdair G Kergon2008-02-08 02:09:51 +0000
commitb9249e556877643b940e4543824a3de5c85bce49 (patch)
tree535e9199affe5d79e370abef352ca8396f7deaef /drivers/md
parent7e5c1e830b2310359a4cfbbf89895dde4abd996a (diff)
dm: mark function lists static
Add a couple of statics. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 466a6bf0742f..5f0f559d3b92 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -181,7 +181,7 @@ static void local_exit(void)
DMINFO("cleaned up");
}
-int (*_inits[])(void) __initdata = {
+static int (*_inits[])(void) __initdata = {
local_init,
dm_target_init,
dm_linear_init,
@@ -189,7 +189,7 @@ int (*_inits[])(void) __initdata = {
dm_interface_init,
};
-void (*_exits[])(void) = {
+static void (*_exits[])(void) = {
local_exit,
dm_target_exit,
dm_linear_exit,