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
cb59aeb2
Commit
cb59aeb2
authored
Dec 05, 2002
by
Adam Belay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PnP gameport driver update
This trivial patch updates the gameport driver to the new id scheme.
parent
9bb10b57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/input/gameport/ns558.c
drivers/input/gameport/ns558.c
+2
-2
No files found.
drivers/input/gameport/ns558.c
View file @
cb59aeb2
...
@@ -161,7 +161,7 @@ static void ns558_isa_probe(int io)
...
@@ -161,7 +161,7 @@ static void ns558_isa_probe(int io)
#ifdef CONFIG_PNP
#ifdef CONFIG_PNP
static
struct
pnp_id
pnp_devids
[]
=
{
static
struct
pnp_
device_
id
pnp_devids
[]
=
{
{
.
id
=
"@P@0001"
,
.
driver_data
=
0
},
/* ALS 100 */
{
.
id
=
"@P@0001"
,
.
driver_data
=
0
},
/* ALS 100 */
{
.
id
=
"@P@0020"
,
.
driver_data
=
0
},
/* ALS 200 */
{
.
id
=
"@P@0020"
,
.
driver_data
=
0
},
/* ALS 200 */
{
.
id
=
"@P@1001"
,
.
driver_data
=
0
},
/* ALS 100+ */
{
.
id
=
"@P@1001"
,
.
driver_data
=
0
},
/* ALS 100+ */
...
@@ -189,7 +189,7 @@ static struct pnp_id pnp_devids[] = {
...
@@ -189,7 +189,7 @@ static struct pnp_id pnp_devids[] = {
MODULE_DEVICE_TABLE
(
pnp
,
pnp_devids
);
MODULE_DEVICE_TABLE
(
pnp
,
pnp_devids
);
static
int
ns558_pnp_probe
(
struct
pnp_dev
*
dev
,
const
struct
pnp_
id
*
cid
,
const
struct
pnp
_id
*
did
)
static
int
ns558_pnp_probe
(
struct
pnp_dev
*
dev
,
const
struct
pnp_
device
_id
*
did
)
{
{
int
ioport
,
iolen
;
int
ioport
,
iolen
;
struct
ns558
*
port
;
struct
ns558
*
port
;
...
...
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