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
a581aab6
Commit
a581aab6
authored
Oct 02, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: speedtouch driver fix due to ioctl function parameter change
parent
0e65e377
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
drivers/usb/misc/speedtouch.c
drivers/usb/misc/speedtouch.c
+8
-7
No files found.
drivers/usb/misc/speedtouch.c
View file @
a581aab6
...
...
@@ -163,11 +163,11 @@ int udsl_atm_proc_read (struct atm_dev *atm_dev, loff_t * pos, char *page);
void
udsl_atm_processqueue
(
struct
udsl_instance_data
*
instance
);
static
struct
atmdev_ops
udsl_atm_devops
=
{
open:
udsl_atm_open
,
close:
udsl_atm_close
,
ioctl:
udsl_atm_ioctl
,
send:
udsl_atm_send
,
proc_read:
udsl_atm_proc_read
,
.
open
=
udsl_atm_open
,
.
close
=
udsl_atm_close
,
.
ioctl
=
udsl_atm_ioctl
,
.
send
=
udsl_atm_send
,
.
proc_read
=
udsl_atm_proc_read
,
};
struct
udsl_atm_dev_data
{
...
...
@@ -182,7 +182,7 @@ static int udsl_usb_probe (struct usb_interface *intf,
static
void
udsl_usb_disconnect
(
struct
usb_interface
*
intf
);
int
udsl_usb_send_data
(
struct
udsl_instance_data
*
instance
,
struct
atm_vcc
*
vcc
,
struct
sk_buff
*
skb
);
static
int
udsl_usb_ioctl
(
struct
usb_
device
*
hub
,
unsigned
int
code
,
void
*
user_data
);
static
int
udsl_usb_ioctl
(
struct
usb_
interface
*
intf
,
unsigned
int
code
,
void
*
user_data
);
static
int
udsl_usb_cancelsends
(
struct
udsl_instance_data
*
instance
,
struct
atm_vcc
*
vcc
);
static
struct
usb_driver
udsl_usb_driver
=
{
...
...
@@ -886,8 +886,9 @@ static int udsl_usb_data_exit (struct udsl_instance_data *instance)
#define hex2int(c) ( (c >= '0')&&(c <= '9') ? (c - '0') : ((c & 0xf)+9) )
static
int
udsl_usb_ioctl
(
struct
usb_
device
*
dev
,
unsigned
int
code
,
void
*
user_data
)
static
int
udsl_usb_ioctl
(
struct
usb_
interface
*
intf
,
unsigned
int
code
,
void
*
user_data
)
{
struct
usb_device
*
dev
=
interface_to_usbdev
(
intf
);
struct
udsl_instance_data
*
instance
;
int
i
;
...
...
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