[openwrt/openwrt] ar71xx: fix format of the 741-MIPS-ath79-add-PCI-for-QCA9556-SoC patches

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 17 02:07:25 PST 2018


blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/508999d366b0ba378e88ce6eb500522be8eaf36f

commit 508999d366b0ba378e88ce6eb500522be8eaf36f
Author: Gabor Juhos <juhosg at freemail.hu>
AuthorDate: Mon Jan 15 23:04:37 2018 +0100

    ar71xx: fix format of the 741-MIPS-ath79-add-PCI-for-QCA9556-SoC patches
    
    The patches introduced in commit 20e68f6d395d ("ar71xx: kernel: enable
    PCI on QCA9556 SoC") have non standard format. In unified diff format,
    the unchanged, contextual lines must be preceded by a space character.
    
    Refresh the patches with quilt to fix them.
    
    Fixes: 20e68f6d395d ("ar71xx: kernel: enable PCI on QCA9556 SoC")
    Signed-off-by: Gabor Juhos <juhosg at freemail.hu>
---
 .../patches-4.4/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch | 12 ++++++------
 .../patches-4.9/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/target/linux/ar71xx/patches-4.4/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch b/target/linux/ar71xx/patches-4.4/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
index 3a6438e..5ca0784 100644
--- a/target/linux/ar71xx/patches-4.4/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
+++ b/target/linux/ar71xx/patches-4.4/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
@@ -1,12 +1,12 @@
 --- a/arch/mips/ath79/pci.c
 +++ b/arch/mips/ath79/pci.c
 @@ -324,7 +324,8 @@ int __init ath79_register_pci(void)
-						 QCA953X_PCI_MEM_SIZE,
-						 0,
-						 ATH79_IP2_IRQ(0));
+ 						 QCA953X_PCI_MEM_SIZE,
+ 						 0,
+ 						 ATH79_IP2_IRQ(0));
 -	} else if (soc_is_qca9558()) {
 +	} else if (soc_is_qca9558() ||
 +		   soc_is_qca9556()) {
-		pdev = ath79_register_pci_ar724x(0,
-						 QCA955X_PCI_CFG_BASE0,
-						 QCA955X_PCI_CTRL_BASE0,
+ 		pdev = ath79_register_pci_ar724x(0,
+ 						 QCA955X_PCI_CFG_BASE0,
+ 						 QCA955X_PCI_CTRL_BASE0,
diff --git a/target/linux/ar71xx/patches-4.9/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch b/target/linux/ar71xx/patches-4.9/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
index 3a6438e..5ca0784 100644
--- a/target/linux/ar71xx/patches-4.9/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
+++ b/target/linux/ar71xx/patches-4.9/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch
@@ -1,12 +1,12 @@
 --- a/arch/mips/ath79/pci.c
 +++ b/arch/mips/ath79/pci.c
 @@ -324,7 +324,8 @@ int __init ath79_register_pci(void)
-						 QCA953X_PCI_MEM_SIZE,
-						 0,
-						 ATH79_IP2_IRQ(0));
+ 						 QCA953X_PCI_MEM_SIZE,
+ 						 0,
+ 						 ATH79_IP2_IRQ(0));
 -	} else if (soc_is_qca9558()) {
 +	} else if (soc_is_qca9558() ||
 +		   soc_is_qca9556()) {
-		pdev = ath79_register_pci_ar724x(0,
-						 QCA955X_PCI_CFG_BASE0,
-						 QCA955X_PCI_CTRL_BASE0,
+ 		pdev = ath79_register_pci_ar724x(0,
+ 						 QCA955X_PCI_CFG_BASE0,
+ 						 QCA955X_PCI_CTRL_BASE0,



More information about the lede-commits mailing list