net: mdio: mscc-miim: Set back the optional resource.
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 30 Nov 2021 09:57:45 +0000 (10:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Nov 2021 12:22:04 +0000 (12:22 +0000)
commitc448c898ae890d966a48c8031b199fda9c6a1d93
treef864a7bec7054e1bd190f0d85f86c778e7413fd3
parent94dd016ae538b12ea665015e5fd0c9844b184005
net: mdio: mscc-miim: Set back the optional resource.

In the blamed commit, the second memory resource was not considered
anymore as optional. On some platforms like sparx5 the second resource
is optional. So add it back as optional and restore the comment that
says so.

Fixes: a27a762828375a ("net: mdio: mscc-miim: convert to a regmap implementation")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c