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
6fe28935
Commit
6fe28935
authored
Aug 17, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more drivers that broke due to losing the 'name' entry.
parent
44bf898d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
10 deletions
+9
-10
drivers/char/mwave/mwavedd.c
drivers/char/mwave/mwavedd.c
+0
-1
drivers/input/gameport/emu10k1-gp.c
drivers/input/gameport/emu10k1-gp.c
+3
-3
drivers/input/gameport/fm801-gp.c
drivers/input/gameport/fm801-gp.c
+2
-2
drivers/input/gameport/ns558.c
drivers/input/gameport/ns558.c
+1
-1
drivers/input/gameport/vortex.c
drivers/input/gameport/vortex.c
+3
-3
No files found.
drivers/char/mwave/mwavedd.c
View file @
6fe28935
...
...
@@ -643,7 +643,6 @@ static int __init mwave_init(void)
/* sysfs */
memset
(
&
mwave_device
,
0
,
sizeof
(
struct
device
));
snprintf
(
mwave_device
.
name
,
DEVICE_NAME_SIZE
,
"mwave"
);
snprintf
(
mwave_device
.
bus_id
,
BUS_ID_SIZE
,
"mwave"
);
if
(
device_register
(
&
mwave_device
))
...
...
drivers/input/gameport/emu10k1-gp.c
View file @
6fe28935
...
...
@@ -84,7 +84,7 @@ static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id
emu
->
dev
=
pdev
;
emu
->
gameport
.
io
=
ioport
;
emu
->
gameport
.
name
=
p
dev
->
dev
.
name
;
emu
->
gameport
.
name
=
p
ci_name
(
pdev
)
;
emu
->
gameport
.
phys
=
emu
->
phys
;
emu
->
gameport
.
id
.
bustype
=
BUS_PCI
;
emu
->
gameport
.
id
.
vendor
=
pdev
->
vendor
;
...
...
@@ -94,8 +94,8 @@ static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id
gameport_register_port
(
&
emu
->
gameport
);
printk
(
KERN_INFO
"gameport:
%s at
pci%s speed %d kHz
\n
"
,
p
dev
->
dev
.
name
,
p
ci_name
(
pdev
),
emu
->
gameport
.
speed
);
printk
(
KERN_INFO
"gameport: pci%s speed %d kHz
\n
"
,
pci_name
(
pdev
),
emu
->
gameport
.
speed
);
return
0
;
}
...
...
drivers/input/gameport/fm801-gp.c
View file @
6fe28935
...
...
@@ -115,8 +115,8 @@ 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
->
dev
.
name
,
pci
_name
(
pci
),
gp
->
gameport
.
speed
);
printk
(
KERN_INFO
"gameport: at pci%s speed %d kHz
\n
"
,
pci_name
(
pci
),
gp
->
gameport
.
speed
);
return
0
;
}
...
...
drivers/input/gameport/ns558.c
View file @
6fe28935
...
...
@@ -222,7 +222,7 @@ static int ns558_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *did)
port
->
gameport
.
id
.
version
=
0x100
;
sprintf
(
port
->
phys
,
"pnp%s/gameport0"
,
dev
->
dev
.
bus_id
);
sprintf
(
port
->
name
,
"%s"
,
dev
->
dev
.
name
[
0
]
?
dev
->
dev
.
name
:
"NS558 PnP Gameport"
);
sprintf
(
port
->
name
,
"%s"
,
"NS558 PnP Gameport"
);
gameport_register_port
(
&
port
->
gameport
);
...
...
drivers/input/gameport/vortex.c
View file @
6fe28935
...
...
@@ -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
->
dev
.
name
;
vortex
->
gameport
.
name
=
pci_name
(
dev
)
;
vortex
->
gameport
.
phys
=
vortex
->
phys
;
vortex
->
gameport
.
id
.
bustype
=
BUS_PCI
;
vortex
->
gameport
.
id
.
vendor
=
dev
->
vendor
;
...
...
@@ -145,8 +145,8 @@ 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
->
dev
.
name
,
pci_name
(
dev
),
vortex
->
gameport
.
speed
);
printk
(
KERN_INFO
"gameport at pci%s speed %d kHz
\n
"
,
pci_name
(
dev
),
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