]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy: fix mdio-octeon dependency and build
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 23 May 2017 15:19:49 +0000 (08:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2017 19:48:08 +0000 (15:48 -0400)
commitbd0e68e2ba6d081e5ff2d6e78919b69b89ceb4e6
tree0570db2554942546c17672689647188ba811e65b
parente41128d392afc7a9a05f7b19437637b357eb1c60
net/phy: fix mdio-octeon dependency and build

Fix build errors by making this driver depend on OF_MDIO, like
several other similar drivers do.

drivers/built-in.o: In function `octeon_mdiobus_remove':
mdio-octeon.c:(.text+0x196ee0): undefined reference to `mdiobus_unregister'
mdio-octeon.c:(.text+0x196ee8): undefined reference to `mdiobus_free'
drivers/built-in.o: In function `octeon_mdiobus_probe':
mdio-octeon.c:(.text+0x196f1d): undefined reference to `devm_mdiobus_alloc_size'
mdio-octeon.c:(.text+0x196ffe): undefined reference to `of_mdiobus_register'
mdio-octeon.c:(.text+0x197010): undefined reference to `mdiobus_free'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig