Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
ffae96a3
Commit
ffae96a3
authored
May 29, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o drivers/usb/media/ov511: initialize struct usb_driver ->owner field
Also remove MOD_{INC,DEC}_USE_COUNT
parent
8a027b2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/usb/media/ov511.c
drivers/usb/media/ov511.c
+1
-4
No files found.
drivers/usb/media/ov511.c
View file @
ffae96a3
...
@@ -400,6 +400,7 @@ static int ov51x_control_ioctl(struct inode *, struct file *, unsigned int,
...
@@ -400,6 +400,7 @@ static int ov51x_control_ioctl(struct inode *, struct file *, unsigned int,
unsigned
long
);
unsigned
long
);
static
struct
file_operations
ov511_control_fops
=
{
static
struct
file_operations
ov511_control_fops
=
{
.
owner
=
THIS_MODULE
,
.
ioctl
=
ov51x_control_ioctl
,
.
ioctl
=
ov51x_control_ioctl
,
};
};
...
@@ -6455,8 +6456,6 @@ ov511_register_decomp_module(int ver, struct ov51x_decomp_ops *ops, int ov518,
...
@@ -6455,8 +6456,6 @@ ov511_register_decomp_module(int ver, struct ov51x_decomp_ops *ops, int ov518,
}
}
}
}
MOD_INC_USE_COUNT
;
unlock_kernel
();
unlock_kernel
();
return
0
;
return
0
;
...
@@ -6482,8 +6481,6 @@ ov511_deregister_decomp_module(int ov518, int mmx)
...
@@ -6482,8 +6481,6 @@ ov511_deregister_decomp_module(int ov518, int mmx)
ov511_decomp_ops
=
NULL
;
ov511_decomp_ops
=
NULL
;
}
}
MOD_DEC_USE_COUNT
;
unlock_kernel
();
unlock_kernel
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment