projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b4bbb3
)
[SPARC64] psycho: Fix pbm->name handling in pbm_register_toplevel_resources()
author
David S. Miller
<
[email protected]
>
Fri, 14 Jul 2006 23:49:55 +0000
(16:49 -0700)
committer
David S. Miller
<
[email protected]
>
Sat, 15 Jul 2006 00:00:28 +0000
(17:00 -0700)
We shouldn't overwrite it, it's the device node full name
already and that's what we want.
Based upon a report from Marc Zyngier.
Signed-off-by: David S. Miller <
[email protected]
>
arch/sparc64/kernel/pci_psycho.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/pci_psycho.c
b/arch/sparc64/kernel/pci_psycho.c
index 197a7ffd57ee32dc8635644be48e5c71fe02317b..83f88ad4ffa5c77a873fd1f32ed92d9867bd6493 100644
(file)
--- a/
arch/sparc64/kernel/pci_psycho.c
+++ b/
arch/sparc64/kernel/pci_psycho.c
@@
-1099,9
+1099,6
@@
static void pbm_register_toplevel_resources(struct pci_controller_info *p,
{
char *name = pbm->name;
- sprintf(name, "PSYCHO%d PBM%c",
- p->index,
- (pbm == &p->pbm_A ? 'A' : 'B'));
pbm->io_space.name = pbm->mem_space.name = name;
request_resource(&ioport_resource, &pbm->io_space);