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
3d0e81be
Commit
3d0e81be
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make some gameports compile again
parent
fc418145
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/input/gameport/fm801-gp.c
drivers/input/gameport/fm801-gp.c
+1
-1
drivers/input/gameport/ns558.c
drivers/input/gameport/ns558.c
+1
-1
drivers/input/gameport/vortex.c
drivers/input/gameport/vortex.c
+2
-2
No files found.
drivers/input/gameport/fm801-gp.c
View file @
3d0e81be
...
...
@@ -116,7 +116,7 @@ static int __devinit fm801_gp_probe(struct pci_dev *pci, const struct pci_device
gameport_register_port
(
&
gp
->
gameport
);
printk
(
KERN_INFO
"gameport: %s at pci%s speed %d kHz
\n
"
,
pci
->
name
,
pci
->
slot_name
,
gp
->
gameport
.
speed
);
pci
->
dev
.
name
,
pci
->
slot_name
,
gp
->
gameport
.
speed
);
return
0
;
}
...
...
drivers/input/gameport/ns558.c
View file @
3d0e81be
...
...
@@ -236,7 +236,7 @@ static void ns558_pnp_probe(struct pci_dev *dev)
port
->
gameport
.
id
.
version
=
0x100
;
sprintf
(
port
->
phys
,
"isapnp%d.%d/gameport0"
,
PCI_SLOT
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
));
sprintf
(
port
->
name
,
"%s"
,
dev
->
name
[
0
]
?
dev
->
name
:
"NS558 PnP Gameport"
);
sprintf
(
port
->
name
,
"%s"
,
dev
->
dev
.
name
[
0
]
?
dev
->
dev
.
name
:
"NS558 PnP Gameport"
);
gameport_register_port
(
&
port
->
gameport
);
...
...
drivers/input/gameport/vortex.c
View file @
3d0e81be
...
...
@@ -127,7 +127,7 @@ static int __devinit vortex_probe(struct pci_dev *dev, const struct pci_device_i
vortex
->
gameport
.
cooked_read
=
vortex_cooked_read
;
vortex
->
gameport
.
open
=
vortex_open
;
vortex
->
gameport
.
name
=
dev
->
name
;
vortex
->
gameport
.
name
=
dev
->
dev
.
name
;
vortex
->
gameport
.
phys
=
vortex
->
phys
;
vortex
->
gameport
.
id
.
bustype
=
BUS_PCI
;
vortex
->
gameport
.
id
.
vendor
=
dev
->
vendor
;
...
...
@@ -146,7 +146,7 @@ static int __devinit vortex_probe(struct pci_dev *dev, const struct pci_device_i
gameport_register_port
(
&
vortex
->
gameport
);
printk
(
KERN_INFO
"gameport: %s at pci%s speed %d kHz
\n
"
,
dev
->
name
,
dev
->
slot_name
,
vortex
->
gameport
.
speed
);
dev
->
dev
.
name
,
dev
->
slot_name
,
vortex
->
gameport
.
speed
);
return
0
;
}
...
...
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