diff options
author | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:55:30 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:55:30 +0000 |
commit | 7116b091eba71ea7ffcda28a03a2ea1665df5931 (patch) | |
tree | b1f3ace542e864e355c569b1dcd8d2c3af36364d /target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch | |
parent | f767d83b67b9657dae4f06038c9672e52249e86c (diff) | |
download | master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.gz master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.bz2 master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.zip |
kirkwood: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42077
Diffstat (limited to 'target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch')
-rw-r--r-- | target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch b/target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch deleted file mode 100644 index a7c5628482..0000000000 --- a/target/linux/kirkwood/patches-3.10/0021-net-mv643xx_eth-use-managed-devm_ioremap-for-port-re.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 002271ca6718b5dfb8082873fb0a60abc1d9e8d5 Mon Sep 17 00:00:00 2001 -From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> -Date: Wed, 29 May 2013 09:32:44 +0000 -Subject: [PATCH 21/29] net: mv643xx_eth: use managed devm_ioremap for port - registers - -Make use of managed devm_ioremap and remove corresponding iounmap. - -Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> -Signed-off-by: David S. Miller <davem@davemloft.net> ---- - drivers/net/ethernet/marvell/mv643xx_eth.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - ---- a/drivers/net/ethernet/marvell/mv643xx_eth.c -+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c -@@ -2469,7 +2469,7 @@ static int mv643xx_eth_shared_probe(stru - if (msp == NULL) - return -ENOMEM; - -- msp->base = ioremap(res->start, resource_size(res)); -+ msp->base = devm_ioremap(&pdev->dev, res->start, resource_size(res)); - if (msp->base == NULL) - return -ENOMEM; - -@@ -2497,7 +2497,6 @@ static int mv643xx_eth_shared_remove(str - { - struct mv643xx_eth_shared_private *msp = platform_get_drvdata(pdev); - -- iounmap(msp->base); - if (!IS_ERR(msp->clk)) - clk_disable_unprepare(msp->clk); - |