summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2008-02-08 02:09:51 +0000
committerAlasdair G Kergon <agk@redhat.com>2008-02-08 02:09:51 +0000
commitb9249e556877643b940e4543824a3de5c85bce49 (patch)
tree535e9199affe5d79e370abef352ca8396f7deaef
parent7e5c1e830b2310359a4cfbbf89895dde4abd996a (diff)
downloadop-kernel-dev-b9249e556877643b940e4543824a3de5c85bce49.zip
op-kernel-dev-b9249e556877643b940e4543824a3de5c85bce49.tar.gz
dm: mark function lists static
Add a couple of statics. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
-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 466a6bf..5f0f559 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,
OpenPOWER on IntegriCloud