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
f7a9f303
Commit
f7a9f303
authored
Aug 27, 2003
by
Randy Dunlap
Committed by
Greg Kroah-Hartman
Aug 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix functions to match prototypes
parent
0f982aa0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/usb/media/ov511.c
drivers/usb/media/ov511.c
+1
-1
drivers/usb/media/pwc-if.c
drivers/usb/media/pwc-if.c
+3
-3
drivers/usb/media/se401.c
drivers/usb/media/se401.c
+1
-1
drivers/usb/media/stv680.c
drivers/usb/media/stv680.c
+1
-1
No files found.
drivers/usb/media/ov511.c
View file @
f7a9f303
...
...
@@ -4592,7 +4592,7 @@ ov51x_v4l1_ioctl(struct inode *inode, struct file *file,
return
rc
;
}
static
in
t
static
ssize_
t
ov51x_v4l1_read
(
struct
file
*
file
,
char
*
buf
,
size_t
cnt
,
loff_t
*
ppos
)
{
struct
video_device
*
vdev
=
file
->
private_data
;
...
...
drivers/usb/media/pwc-if.c
View file @
f7a9f303
...
...
@@ -129,7 +129,7 @@ static struct {
static
int
pwc_video_open
(
struct
inode
*
inode
,
struct
file
*
file
);
static
int
pwc_video_close
(
struct
inode
*
inode
,
struct
file
*
file
);
static
in
t
pwc_video_read
(
struct
file
*
file
,
char
*
buf
,
static
ssize_
t
pwc_video_read
(
struct
file
*
file
,
char
*
buf
,
size_t
count
,
loff_t
*
ppos
);
static
unsigned
int
pwc_video_poll
(
struct
file
*
file
,
poll_table
*
wait
);
static
int
pwc_video_ioctl
(
struct
inode
*
inode
,
struct
file
*
file
,
...
...
@@ -1116,7 +1116,7 @@ static int pwc_video_close(struct inode *inode, struct file *file)
device is tricky anyhow.
*/
static
in
t
pwc_video_read
(
struct
file
*
file
,
char
*
buf
,
static
ssize_
t
pwc_video_read
(
struct
file
*
file
,
char
*
buf
,
size_t
count
,
loff_t
*
ppos
)
{
struct
video_device
*
vdev
=
file
->
private_data
;
...
...
@@ -1124,7 +1124,7 @@ static int pwc_video_read(struct file *file, char *buf,
int
noblock
=
file
->
f_flags
&
O_NONBLOCK
;
DECLARE_WAITQUEUE
(
wait
,
current
);
Trace
(
TRACE_READ
,
"video_read(0x%p, %p, %d) called.
\n
"
,
vdev
,
buf
,
count
);
Trace
(
TRACE_READ
,
"video_read(0x%p, %p, %
Z
d) called.
\n
"
,
vdev
,
buf
,
count
);
if
(
vdev
==
NULL
)
return
-
EFAULT
;
pdev
=
vdev
->
priv
;
...
...
drivers/usb/media/se401.c
View file @
f7a9f303
...
...
@@ -1121,7 +1121,7 @@ static int se401_ioctl(struct inode *inode, struct file *file,
return
video_usercopy
(
inode
,
file
,
cmd
,
arg
,
se401_do_ioctl
);
}
static
in
t
se401_read
(
struct
file
*
file
,
char
*
buf
,
static
ssize_
t
se401_read
(
struct
file
*
file
,
char
*
buf
,
size_t
count
,
loff_t
*
ppos
)
{
int
realcount
=
count
,
ret
=
0
;
...
...
drivers/usb/media/stv680.c
View file @
f7a9f303
...
...
@@ -1313,7 +1313,7 @@ static int stv680_mmap (struct file *file, struct vm_area_struct *vma)
return
0
;
}
static
in
t
stv680_read
(
struct
file
*
file
,
char
*
buf
,
static
ssize_
t
stv680_read
(
struct
file
*
file
,
char
*
buf
,
size_t
count
,
loff_t
*
ppos
)
{
struct
video_device
*
dev
=
file
->
private_data
;
...
...
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