]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ocfs2: make struct ocfs2_control_device static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Apr 2008 08:49:26 +0000 (11:49 +0300)
committerMark Fasheh <mfasheh@suse.com>
Thu, 1 May 2008 00:09:08 +0000 (17:09 -0700)
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>
fs/ocfs2/stack_user.c

index 7428663f9cbbf78a75dba73ea67db3ab5e6001b7..b503772cd0ec83f86a2b55aa5fa512cd8ce20c4a 100644 (file)
@@ -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,