]> git.baikalelectronics.ru Git - kernel.git/commit
net: nixge: Fix Kconfig warning with OF_MDIO
authorMoritz Fischer <mdf@kernel.org>
Fri, 31 Aug 2018 20:30:54 +0000 (13:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 23:10:15 +0000 (16:10 -0700)
commit3e57ae5d60074ae77d14da8d37837c487184683d
tree115133d9937a9c697aef32e9461decd6487f688f
parent2532aedbc2e503fa31e7c9cafa344114bdc3a070
net: nixge: Fix Kconfig warning with OF_MDIO

Fix Kconfig warning with OF_MDIO where OF_MDIO was
selected unconditionally instead of only when
OF is actually enabled.

Fixes cc10acf8a72e ("net: nixge: Add support for 64-bit platforms")
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ni/Kconfig