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:
Родитель
9d80f7539a
Коммит
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче