diff options
Diffstat (limited to 'recipes-kernel/linux/linux-3.0.6/acp3448v2/0010-fix-typo-error-for-acp-pcie.patch')
-rw-r--r-- | recipes-kernel/linux/linux-3.0.6/acp3448v2/0010-fix-typo-error-for-acp-pcie.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.0.6/acp3448v2/0010-fix-typo-error-for-acp-pcie.patch b/recipes-kernel/linux/linux-3.0.6/acp3448v2/0010-fix-typo-error-for-acp-pcie.patch new file mode 100644 index 0000000..b7f4d33 --- /dev/null +++ b/recipes-kernel/linux/linux-3.0.6/acp3448v2/0010-fix-typo-error-for-acp-pcie.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | commit 57aaa696b09b81d3407ef0ce93315394405ef042 | ||
2 | Author: Jerry Pei <jerry.pei@enea.com> | ||
3 | Date: Wed Sep 26 11:12:02 2012 +0800 | ||
4 | |||
5 | fix typo error for acp pcie | ||
6 | |||
7 | Signed-off-by: Jerry Pei <jerry.pei@enea.com> | ||
8 | |||
9 | diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c | ||
10 | index a4e1c46..278144e 100644 | ||
11 | --- a/arch/powerpc/sysdev/ppc4xx_pci.c | ||
12 | +++ b/arch/powerpc/sysdev/ppc4xx_pci.c | ||
13 | @@ -2373,7 +2373,7 @@ ppc4xx_configure_acp_pciex_PIMs(struct ppc4xx_pciex_port *port, | ||
14 | * For the address field we simply program an incrementing value | ||
15 | * to map consecutive pages | ||
16 | */ | ||
17 | - if (0 == acp_plx) { | ||
18 | + if (acp_plx) { | ||
19 | int i; | ||
20 | |||
21 | for (i = 0; i < 8; i++) { | ||