of_mdio: Correct check against CONFIG_OF
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Mar 2017 17:01:17 +0000 (10:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 19:51:04 +0000 (12:51 -0700)
commite6e14f63d744cede856ba5d517d6b266c9cfbf41
treefa04397a4090922679d42a6b616c9ee8e57877d6
parent5952fde10c35ecfefb0c3e61536170798d4a51c9
of_mdio: Correct check against CONFIG_OF

CONFIG_OF_MDIO is actually what triggers the build of drivers/of/of_mdio.c, so
providing inline stubs when CONFIG_OF_MDIO=y should be based on that symbol as
well.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/of_mdio.h