Skip to content

Commit

Permalink
ocfs2: make struct ocfs2_control_device static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Mark Fasheh committed May 1, 2008
1 parent 9d80f75 commit 4d8755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/stack_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4d8755b

Please sign in to comment.