aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-05-06 14:58:43 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-05-13 19:17:41 +0200
commit762361a79c8e1873898bbf9724ac58ede7464832 (patch)
treeda140307620445448a1e298bc96a37f4c9bb10e4 /target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch
parent06403981e1f2daf6bbcf05f5f2d2205d68240861 (diff)
downloadupstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.gz
upstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.bz2
upstream-762361a79c8e1873898bbf9724ac58ede7464832.zip
brcm63xx: remove kernel 4.9 support
This target got bumped to 4.14 a long time ago in commit: 2308b87204206d84b6bf3dbc3d72591611cc6b78 Remove all leftover 4.9 files. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch
deleted file mode 100644
index 11a83536b7..0000000000
--- a/target/linux/brcm63xx/patches-4.9/801-ssb_export_fallback_sprom.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/arch/mips/bcm63xx/sprom.c
-+++ b/arch/mips/bcm63xx/sprom.c
-@@ -8,6 +8,7 @@
- */
-
- #include <linux/init.h>
-+#include <linux/export.h>
- #include <linux/kernel.h>
- #include <linux/string.h>
- #include <linux/platform_device.h>
-@@ -387,7 +388,19 @@ struct fallback_sprom_match {
- struct ssb_sprom sprom;
- };
-
--static struct fallback_sprom_match fallback_sprom;
-+struct fallback_sprom_match fallback_sprom;
-+
-+int bcm63xx_get_fallback_sprom(uint pci_bus, uint pci_slot, struct ssb_sprom *out)
-+{
-+ if (pci_bus != fallback_sprom.pci_bus ||
-+ pci_slot != fallback_sprom.pci_dev)
-+ pr_warn("fallback_sprom: pci bus/device num mismatch: expected %i/%i, but got %i/%i\n",
-+ fallback_sprom.pci_bus, fallback_sprom.pci_dev,
-+ pci_bus, pci_slot);
-+ memcpy(out, &fallback_sprom.sprom, sizeof(struct ssb_sprom));
-+ return 0;
-+}
-+EXPORT_SYMBOL(bcm63xx_get_fallback_sprom);
-
- #if defined(CONFIG_SSB_PCIHOST)
- int bcm63xx_get_fallback_ssb_sprom(struct ssb_bus *bus, struct ssb_sprom *out)