diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2022-02-16 10:46:34 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-17 08:45:34 -0800 |
commit | 6aba04ee3263669b335458c4cf4c7d97d6940229 (patch) | |
tree | b2bfec2442a60fcff8e458d3cf46d0bc216ae49a /net/vmw_vsock/af_vsock.c | |
parent | 35a79e64de29e8d57a5989aac57611c0cd29e13e (diff) | |
download | linux-stable-6aba04ee3263669b335458c4cf4c7d97d6940229.tar.gz linux-stable-6aba04ee3263669b335458c4cf4c7d97d6940229.tar.bz2 linux-stable-6aba04ee3263669b335458c4cf4c7d97d6940229.zip |
Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
This reverts commit 3710e80952cf2dc48257ac9f145b117b5f74e0a5.
Since idm_base and nicpm_base are still optional resources not present
on all platforms, this breaks the driver for everything except Northstar
2 (which has both).
The same change was already reverted once with 755f5738ff98 ("net:
broadcom: fix a mistake about ioremap resource").
So let's do it again.
Fixes: 3710e80952cf ("net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
[florian: Added comments to explain the resources are optional]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220216184634.2032460-1-f.fainelli@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/vmw_vsock/af_vsock.c')
0 files changed, 0 insertions, 0 deletions