Skip to contentSkip to conversation

MIPS: fix rc32434 pci build error

PATCH Applied Yoichi Yuasa 3 participants 3 messages Jul 27, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

arch/mips/pci/pci-rc32434.c: In function 'rc32434_pci_init':
arch/mips/pci/pci-rc32434.c:217:16: error: 'rcrc32434_res_pci_io1' undeclared (first use in this function) arch/mips/pci/pci-rc32434.c:217:16: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/mips/pci/pci-rc32434.o] Error 1

This problem is included in the following commit.

commit 28f65c11f2ffb3957259dece647a24f8ad2e241b
Author: Joe Perches <[email protected]>
Date: Thu Jun 9 09:13:32 2011 -0700

treewide: Convert uses of struct resource to resource_size(ptr)

---
 arch/mips/pci/pci-rc32434.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/pci/pci-rc32434.c +1 -1
index 764362c..5f3a69c 100644
@@ -215,7 +215,7 @@ static int __init rc32434_pci_init(void)
 	rc32434_pcibridge_init();
 
 	io_map_base = ioremap(rc32434_res_pci_io1.start,
-			      resource_size(&rcrc32434_res_pci_io1));
+			      resource_size(&rc32434_res_pci_io1));
 
 	if (!io_map_base)
 		return -ENOMEM;
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 7 lines · Yoichi Yuasa

arch/mips/pci/pci-rc32434.c: In function 'rc32434_pci_init':
arch/mips/pci/pci-rc32434.c:217:16: error: 'rcrc32434_res_pci_io1' undeclared (first use in this function) arch/mips/pci/pci-rc32434.c:217:16: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/mips/pci/pci-rc32434.o] Error 1
This problem is included in the following commit.
commit 28f65c11f2ffb3957259dece647a24f8ad2e241b
Author: Joe Perches <[email protected]>

[]

arch/mips/pci/pci-rc32434.c

Quoted 1 line
arch/mips/pci/pci-rc32434.c +0 -0

[]

arch/mips/pci/pci-rc32434.c static int __init rc32434_pci_init(void) · line 218

Quoted 3 lines
arch/mips/pci/pci-rc32434.c +1 -1
 	io_map_base = ioremap(rc32434_res_pci_io1.start,
-			      resource_size(&rcrc32434_res_pci_io1));
+			      resource_size(&rc32434_res_pci_io1));

Sorry 'bout that, not sure how that happened.