diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-21 11:49:26 +0300 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-04-30 17:09:08 -0700 |
commit | 4d8755b5e667df8f01647773ba744a5ac97e68e6 (patch) | |
tree | ea6a4a785196d0ed1994716796cf7f9d8f5e902d | |
parent | 9d80f7539a91c0154e40fc9e4ae5e818dd8f102e (diff) |
ocfs2: make struct ocfs2_control_device static
This patch makes the needlessly global struct ocfs2_control_device
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
-rw-r--r-- | fs/ocfs2/stack_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index 7428663f9cb..b503772cd0e 100644 --- a/fs/ocfs2/stack_user.c +++ b/fs/ocfs2/stack_user.c @@ -635,7 +635,7 @@ static const struct file_operations ocfs2_control_fops = { .owner = THIS_MODULE, }; -struct miscdevice ocfs2_control_device = { +static struct miscdevice ocfs2_control_device = { .minor = MISC_DYNAMIC_MINOR, .name = "ocfs2_control", .fops = &ocfs2_control_fops, |