diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-12-02 22:16:37 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-12-02 22:16:37 +0000 |
commit | 9d7e058a237f04d99797174f2764d90ac8b41818 (patch) | |
tree | bae58af1d3e549db373c32b9c46b4e3e1eef46d3 /target/linux/brcm63xx/patches-3.18/801-ssb_export_fallback_sprom.patch | |
parent | e9390dcf233733ec269c30e922d285523d068ffc (diff) | |
download | upstream-9d7e058a237f04d99797174f2764d90ac8b41818.tar.gz upstream-9d7e058a237f04d99797174f2764d90ac8b41818.tar.bz2 upstream-9d7e058a237f04d99797174f2764d90ac8b41818.zip |
brcm63xx: drop 3.18 support
Drop 3.18 support; it will live on in CC.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47696
Diffstat (limited to 'target/linux/brcm63xx/patches-3.18/801-ssb_export_fallback_sprom.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.18/801-ssb_export_fallback_sprom.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/801-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.18/801-ssb_export_fallback_sprom.patch deleted file mode 100644 index 11a83536b7..0000000000 --- a/target/linux/brcm63xx/patches-3.18/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) |