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
Kirill Smelkov
linux
Commits
e90ff923
Commit
e90ff923
authored
Sep 13, 2007
by
Linus Torvalds
Committed by
Mauro Carvalho Chehab
Sep 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (6220a): fix build error for et61x251 driver
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
48200bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/media/v4l2-dev.h
include/media/v4l2-dev.h
+3
-2
No files found.
include/media/v4l2-dev.h
View file @
e90ff923
...
...
@@ -337,6 +337,9 @@ void *priv;
struct
class_device
class_dev
;
/* sysfs */
};
/* Class-dev to video-device */
#define to_video_device(cd) container_of(cd, struct video_device, class_dev)
/* Version 2 functions */
extern
int
video_register_device
(
struct
video_device
*
vfd
,
int
type
,
int
nr
);
void
video_unregister_device
(
struct
video_device
*
);
...
...
@@ -354,11 +357,9 @@ extern int video_usercopy(struct inode *inode, struct file *file,
int
(
*
func
)(
struct
inode
*
inode
,
struct
file
*
file
,
unsigned
int
cmd
,
void
*
arg
));
#ifdef CONFIG_VIDEO_V4L1_COMPAT
#include <linux/mm.h>
#define to_video_device(cd) container_of(cd, struct video_device, class_dev)
static
inline
int
__must_check
video_device_create_file
(
struct
video_device
*
vfd
,
struct
class_device_attribute
*
attr
)
...
...
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