MIPS: fix rc32434 pci build error
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
@@ -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
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.
commit28f65c11f2ffb3957259dece647a24f8ad2e241b
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
-1io_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.
Ralf Baechle
AppliedOn Wed, Jul 27, 2011 at 12:19:01PM +0900, Yoichi Yuasa wrote:
Thanks, applied.
Ralf