summaryrefslogtreecommitdiff
path: root/fs/ocfs2/stack_user.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-21 11:49:26 +0300
committerMark Fasheh <mfasheh@suse.com>2008-04-30 17:09:08 -0700
commit4d8755b5e667df8f01647773ba744a5ac97e68e6 (patch)
treeea6a4a785196d0ed1994716796cf7f9d8f5e902d /fs/ocfs2/stack_user.c
parent9d80f7539a91c0154e40fc9e4ae5e818dd8f102e (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>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
-rw-r--r--fs/ocfs2/stack_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
index 7428663f9cbb..b503772cd0ec 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,