* MIPS: fix rc32434 pci build error
@ 2011-07-27 3:19 Yoichi Yuasa
2011-07-27 3:36 ` Joe Perches
2011-07-27 8:29 ` Ralf Baechle
0 siblings, 2 replies; 3+ messages in thread
From: Yoichi Yuasa @ 2011-07-27 3:19 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, joe, 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 <joe@perches.com>
Date: Thu Jun 9 09:13:32 2011 -0700
treewide: Convert uses of struct resource to resource_size(ptr)
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
arch/mips/pci/pci-rc32434.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/pci/pci-rc32434.c b/arch/mips/pci/pci-rc32434.c
index 764362c..5f3a69c 100644
--- a/arch/mips/pci/pci-rc32434.c
+++ b/arch/mips/pci/pci-rc32434.c
@@ -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;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: MIPS: fix rc32434 pci build error
2011-07-27 3:19 MIPS: fix rc32434 pci build error Yoichi Yuasa
@ 2011-07-27 3:36 ` Joe Perches
2011-07-27 8:29 ` Ralf Baechle
1 sibling, 0 replies; 3+ messages in thread
From: Joe Perches @ 2011-07-27 3:36 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: Ralf Baechle, linux-mips
On Wed, 2011-07-27 at 12:19 +0900, Yoichi Yuasa wrote:
> 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 <joe@perches.com>
[]
> diff --git a/arch/mips/pci/pci-rc32434.c b/arch/mips/pci/pci-rc32434.c
[]
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MIPS: fix rc32434 pci build error
2011-07-27 3:19 MIPS: fix rc32434 pci build error Yoichi Yuasa
2011-07-27 3:36 ` Joe Perches
@ 2011-07-27 8:29 ` Ralf Baechle
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2011-07-27 8:29 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: linux-mips, joe
On Wed, Jul 27, 2011 at 12:19:01PM +0900, Yoichi Yuasa wrote:
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-27 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 3:19 MIPS: fix rc32434 pci build error Yoichi Yuasa
2011-07-27 3:36 ` Joe Perches
2011-07-27 8:29 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox