mirror of https://gitee.com/openkylin/linux.git
dm: mark function lists static
Add a couple of statics. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
parent
7e5c1e830b
commit
b9249e5568
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue