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
f43da603
Commit
f43da603
authored
Feb 21, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB visor: fixed the driver_info cast to the proper type.
parent
cca5fa9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+15
-15
No files found.
drivers/usb/serial/visor.c
View file @
f43da603
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* USB HandSpring Visor, Palm m50x, and Sony Clie driver
* USB HandSpring Visor, Palm m50x, and Sony Clie driver
* (supports all of the Palm OS USB devices)
* (supports all of the Palm OS USB devices)
*
*
* Copyright (C) 1999 - 200
2
* Copyright (C) 1999 - 200
3
* Greg Kroah-Hartman (greg@kroah.com)
* Greg Kroah-Hartman (greg@kroah.com)
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -183,34 +183,34 @@ static int palm_os_4_probe (struct usb_serial *serial, const struct usb_device_i
...
@@ -183,34 +183,34 @@ static int palm_os_4_probe (struct usb_serial *serial, const struct usb_device_i
static
struct
usb_device_id
id_table
[]
=
{
static
struct
usb_device_id
id_table
[]
=
{
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_VISOR_ID
),
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_VISOR_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_3_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_3_probe
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO_ID
),
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M515_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M515_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_I705_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_I705_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M125_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M125_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M130_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M130_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_TUNGSTEN_T_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_TUNGSTEN_T_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_TUNGSTEN_Z_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_TUNGSTEN_Z_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_ZIRE_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_ZIRE_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_4_0_ID
),
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_4_0_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_S360_ID
),
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_S360_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_4_1_ID
)
},
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_4_1_ID
)
},
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_NX60_ID
),
{
USB_DEVICE
(
SONY_VENDOR_ID
,
SONY_CLIE_NX60_ID
),
.
driver_info
=
(
unsigned
in
t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_
t
)
&
palm_os_4_probe
},
{
}
/* Terminating entry */
{
}
/* Terminating entry */
};
};
...
...
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