blob: b7f4d332b600bfe8a194be4750804cf6d4731033 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
commit 57aaa696b09b81d3407ef0ce93315394405ef042
Author: Jerry Pei <jerry.pei@enea.com>
Date: Wed Sep 26 11:12:02 2012 +0800
fix typo error for acp pcie
Signed-off-by: Jerry Pei <jerry.pei@enea.com>
diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c
index a4e1c46..278144e 100644
--- a/arch/powerpc/sysdev/ppc4xx_pci.c
+++ b/arch/powerpc/sysdev/ppc4xx_pci.c
@@ -2373,7 +2373,7 @@ ppc4xx_configure_acp_pciex_PIMs(struct ppc4xx_pciex_port *port,
* For the address field we simply program an incrementing value
* to map consecutive pages
*/
- if (0 == acp_plx) {
+ if (acp_plx) {
int i;
for (i = 0; i < 8; i++) {
|