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
dc223510
Commit
dc223510
authored
Nov 10, 2002
by
Art Haas
Committed by
Andy Grover
Nov 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializer for drivers/usb/media/vicam.c
parent
baf8febe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
drivers/usb/media/vicam.c
drivers/usb/media/vicam.c
+18
-18
No files found.
drivers/usb/media/vicam.c
View file @
dc223510
...
@@ -1201,7 +1201,7 @@ vicam_video_init(struct video_device *vdev)
...
@@ -1201,7 +1201,7 @@ vicam_video_init(struct video_device *vdev)
static
struct
file_operations
vicam_fops
=
{
static
struct
file_operations
vicam_fops
=
{
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
open
=
vicam_open
,
.
open
=
vicam_open
,
.
release
=
vicam_close
,
.
release
=
vicam_close
,
.
read
=
vicam_read
,
.
read
=
vicam_read
,
.
mmap
=
vicam_mmap
,
.
mmap
=
vicam_mmap
,
.
ioctl
=
vicam_ioctl
,
.
ioctl
=
vicam_ioctl
,
...
@@ -1227,10 +1227,10 @@ static struct usb_device_id vicam_table[] = {
...
@@ -1227,10 +1227,10 @@ static struct usb_device_id vicam_table[] = {
MODULE_DEVICE_TABLE
(
usb
,
vicam_table
);
MODULE_DEVICE_TABLE
(
usb
,
vicam_table
);
static
struct
usb_driver
vicam_driver
=
{
static
struct
usb_driver
vicam_driver
=
{
name:
"vicam"
,
.
name
=
"vicam"
,
probe:
vicam_probe
,
.
probe
=
vicam_probe
,
disconnect:
vicam_disconnect
,
.
disconnect
=
vicam_disconnect
,
id_table:
vicam_table
.
id_table
=
vicam_table
};
};
/**
/**
...
...
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