summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2008-02-08 03:09:51 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-02-08 03:09:51 +0100
commitb9249e556877643b940e4543824a3de5c85bce49 (patch)
tree535e9199affe5d79e370abef352ca8396f7deaef /drivers/md/dm.c
parentdm: add missing memory barrier to dm_suspend (diff)
downloadlinux-b9249e556877643b940e4543824a3de5c85bce49.tar.xz
linux-b9249e556877643b940e4543824a3de5c85bce49.zip
dm: mark function lists static
Add a couple of statics. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to '')
-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,