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
9932a78d
Commit
9932a78d
authored
Jan 06, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB serial: fixup for probe function paramaters changing.
parent
86b0ac2f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+2
-2
drivers/usb/serial/whiteheat.c
drivers/usb/serial/whiteheat.c
+2
-2
No files found.
drivers/usb/serial/visor.c
View file @
9932a78d
...
...
@@ -168,7 +168,7 @@ static int visor_write_room (struct usb_serial_port *port);
static
int
visor_chars_in_buffer
(
struct
usb_serial_port
*
port
);
static
void
visor_throttle
(
struct
usb_serial_port
*
port
);
static
void
visor_unthrottle
(
struct
usb_serial_port
*
port
);
static
int
visor_probe
(
struct
usb_serial
*
serial
);
static
int
visor_probe
(
struct
usb_serial
*
serial
,
const
struct
usb_device_id
*
id
);
static
int
visor_calc_num_ports
(
struct
usb_serial
*
serial
);
static
void
visor_shutdown
(
struct
usb_serial
*
serial
);
static
int
visor_ioctl
(
struct
usb_serial_port
*
port
,
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
...
...
@@ -600,7 +600,7 @@ static void visor_unthrottle (struct usb_serial_port *port)
dev_err
(
&
port
->
dev
,
"%s - failed submitting read urb, error %d
\n
"
,
__FUNCTION__
,
result
);
}
static
int
visor_probe
(
struct
usb_serial
*
serial
)
static
int
visor_probe
(
struct
usb_serial
*
serial
,
const
struct
usb_device_id
*
id
)
{
struct
device
*
dev
=
&
serial
->
dev
->
dev
;
int
response
;
...
...
drivers/usb/serial/whiteheat.c
View file @
9932a78d
...
...
@@ -134,7 +134,7 @@ static struct usb_driver whiteheat_driver = {
};
/* function prototypes for the Connect Tech WhiteHEAT prerenumeration device */
static
int
whiteheat_firmware_download
(
struct
usb_serial
*
serial
);
static
int
whiteheat_firmware_download
(
struct
usb_serial
*
serial
,
const
struct
usb_device_id
*
id
);
static
int
whiteheat_firmware_attach
(
struct
usb_serial
*
serial
);
/* function prototypes for the Connect Tech WhiteHEAT serial converter */
...
...
@@ -269,7 +269,7 @@ static int firm_report_tx_done(struct usb_serial_port *port);
- device renumerated itself and comes up as new device id with all
firmware download completed.
*/
static
int
whiteheat_firmware_download
(
struct
usb_serial
*
serial
)
static
int
whiteheat_firmware_download
(
struct
usb_serial
*
serial
,
const
struct
usb_device_id
*
id
)
{
int
response
;
const
struct
whiteheat_hex_record
*
record
;
...
...
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