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
7cfe9ac0
Commit
7cfe9ac0
authored
Aug 01, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: remove some compiler warnings
parent
e3d848c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
drivers/usb/media/dabusb.c
drivers/usb/media/dabusb.c
+0
-12
drivers/usb/media/vicamurbs.h
drivers/usb/media/vicamurbs.h
+2
-0
No files found.
drivers/usb/media/dabusb.c
View file @
7cfe9ac0
...
@@ -712,18 +712,6 @@ static struct file_operations dabusb_fops =
...
@@ -712,18 +712,6 @@ static struct file_operations dabusb_fops =
.
release
=
dabusb_release
,
.
release
=
dabusb_release
,
};
};
static
int
dabusb_find_struct
(
void
)
{
int
u
;
for
(
u
=
0
;
u
<
NRDABUSB
;
u
++
)
{
pdabusb_t
s
=
&
dabusb
[
u
];
if
(
!
s
->
usbdev
)
return
u
;
}
return
-
1
;
}
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
static
void
*
dabusb_probe
(
struct
usb_device
*
usbdev
,
unsigned
int
ifnum
,
static
void
*
dabusb_probe
(
struct
usb_device
*
usbdev
,
unsigned
int
ifnum
,
const
struct
usb_device_id
*
id
)
const
struct
usb_device_id
*
id
)
...
...
drivers/usb/media/vicamurbs.h
View file @
7cfe9ac0
...
@@ -17,11 +17,13 @@
...
@@ -17,11 +17,13 @@
/* Request 0x51 Image Setup */
/* Request 0x51 Image Setup */
#if 0
/* 128x98 ? 0x3180 size */
/* 128x98 ? 0x3180 size */
static unsigned char s128x98bw[] = {
static unsigned char s128x98bw[] = {
0, 0x34, 0xC4, 0x00, 0x00, 0x00, 0, 0,
0, 0x34, 0xC4, 0x00, 0x00, 0x00, 0, 0,
0x18, 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00
0x18, 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00
};
};
#endif
/* 128x122 3D80 size */
/* 128x122 3D80 size */
static
unsigned
char
s128x122bw
[]
=
{
static
unsigned
char
s128x122bw
[]
=
{
...
...
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