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:
parent
9d80f7539a
commit
4d8755b5e6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue