diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-03 02:50:00 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-03 02:50:00 +0000 |
commit | a948ae90c210260106dcb411ed006d2ee13ade21 (patch) | |
tree | 8d013582ea989c45b94bd78cc7c5d7ab1c058854 /target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch | |
parent | 32654ebc00d0fa87951da1187ff3de0fc3a9b21c (diff) | |
download | upstream-a948ae90c210260106dcb411ed006d2ee13ade21.tar.gz upstream-a948ae90c210260106dcb411ed006d2ee13ade21.tar.bz2 upstream-a948ae90c210260106dcb411ed006d2ee13ade21.zip |
kirkwood: update patches and configuration (3.10)
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch')
-rw-r--r-- | target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch b/target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch index 74a839701c..653bc7df03 100644 --- a/target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch +++ b/target/linux/kirkwood/patches-3.10/0003-of-pci-Add-of_pci_parse_bus_range-function.patch @@ -1,22 +1,21 @@ -From 6275a8e0bacac9702350b6a003470a9ce67c9139 Mon Sep 17 00:00:00 2001 +From 389637f9e7f523934acf26c247e4722d761ad966 Mon Sep 17 00:00:00 2001 From: Thierry Reding <thierry.reding@avionic-design.de> -Date: Mon, 11 Feb 2013 09:22:20 +0100 +Date: Thu, 16 May 2013 17:55:19 +0200 Subject: [PATCH 03/29] of/pci: Add of_pci_parse_bus_range() function This function can be used to parse a bus-range property as specified by device nodes representing PCI bridges. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> +Signed-off-by: Jason Cooper <jason@lakedaemon.net> --- drivers/of/of_pci.c | 25 +++++++++++++++++++++++++ include/linux/of_pci.h | 1 + 2 files changed, 26 insertions(+) -diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c -index 4dd7b9b..42c687a 100644 --- a/drivers/of/of_pci.c +++ b/drivers/of/of_pci.c -@@ -64,3 +64,28 @@ int of_pci_get_devfn(struct device_node *np) +@@ -64,3 +64,28 @@ int of_pci_get_devfn(struct device_node return (be32_to_cpup(reg) >> 8) & 0xff; } EXPORT_SYMBOL_GPL(of_pci_get_devfn); @@ -45,8 +44,6 @@ index 4dd7b9b..42c687a 100644 + return 0; +} +EXPORT_SYMBOL_GPL(of_pci_parse_bus_range); -diff --git a/include/linux/of_pci.h b/include/linux/of_pci.h -index 91ec484..7a04826 100644 --- a/include/linux/of_pci.h +++ b/include/linux/of_pci.h @@ -11,5 +11,6 @@ struct device_node; @@ -56,6 +53,3 @@ index 91ec484..7a04826 100644 +int of_pci_parse_bus_range(struct device_node *node, struct resource *res); #endif --- -1.8.4.rc1 - |