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>
This commit is contained in:
@@ -635,7 +635,7 @@ static const struct file_operations ocfs2_control_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct miscdevice ocfs2_control_device = {
|
static struct miscdevice ocfs2_control_device = {
|
||||||
.minor = MISC_DYNAMIC_MINOR,
|
.minor = MISC_DYNAMIC_MINOR,
|
||||||
.name = "ocfs2_control",
|
.name = "ocfs2_control",
|
||||||
.fops = &ocfs2_control_fops,
|
.fops = &ocfs2_control_fops,
|
||||||
|
Reference in New Issue
Block a user