aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-01-19 20:59:10 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-01-19 20:59:10 +0000
commit000295f8baf25bed023c651bf48409c5ac4b7724 (patch)
tree208a8ad30f56f8f6fe2d26576315123c17961efb /target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch
parentbba8f059d746863999e3b73832ee9d66fb4975bd (diff)
downloadupstream-000295f8baf25bed023c651bf48409c5ac4b7724.tar.gz
upstream-000295f8baf25bed023c651bf48409c5ac4b7724.tar.bz2
upstream-000295f8baf25bed023c651bf48409c5ac4b7724.zip
bcm53xx: move iProc patches that went mainline
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48370
Diffstat (limited to 'target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch b/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch
new file mode 100644
index 0000000000..b81ff6d724
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch
@@ -0,0 +1,33 @@
+From 98aac697a83db6e1d004e5d61cf6c976a0b1c35a Mon Sep 17 00:00:00 2001
+From: Ray Jui <rjui@broadcom.com>
+Date: Tue, 15 Sep 2015 17:39:16 -0700
+Subject: [PATCH 2/7] PCI: iproc: Remove unused struct iproc_pcie.irqs[]
+
+Remove unused struct iproc_pcie member irqs[] and unused #define
+IPROC_PCIE_MAX_NUM_IRQS.
+
+Signed-off-by: Ray Jui <rjui@broadcom.com>
+Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
+---
+ drivers/pci/host/pcie-iproc.h | 3 ---
+ 1 file changed, 3 deletions(-)
+
+--- a/drivers/pci/host/pcie-iproc.h
++++ b/drivers/pci/host/pcie-iproc.h
+@@ -14,8 +14,6 @@
+ #ifndef _PCIE_IPROC_H
+ #define _PCIE_IPROC_H
+
+-#define IPROC_PCIE_MAX_NUM_IRQS 6
+-
+ /**
+ * iProc PCIe device
+ * @dev: pointer to device data structure
+@@ -34,7 +32,6 @@ struct iproc_pcie {
+ #endif
+ struct pci_bus *root_bus;
+ struct phy *phy;
+- int irqs[IPROC_PCIE_MAX_NUM_IRQS];
+ int (*map_irq)(const struct pci_dev *, u8, u8);
+ };
+