of_mdio: Enable fixed PHY support if driver is a module
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 21 Jun 2016 00:17:17 +0000 (01:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jun 2016 19:12:21 +0000 (15:12 -0400)
commitd1bd330a229fc8a69f0e7532138dfd42b4542fd4
tree9b6bba76bf8834b664bffcb92524d873dc574e42
parent8658aaf2539795e0b58fe101ae61d989f81700ff
of_mdio: Enable fixed PHY support if driver is a module

The fixed_phy driver doesn't have to be built-in, and it's
important that of_mdio supports it even if it's a module.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c
include/linux/of_mdio.h