diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-06-12 17:18:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-13 12:58:19 -0400 |
commit | 665fff2923323e348728e03a7cdb0ce56f316d39 (patch) | |
tree | 42d5d92f428b3e50447f88927ff15f3363b0159a /drivers/powercap | |
parent | 4a6a97e2650c7dd7b1380ba763e9038c814e220c (diff) |
net: phy: Fix MDIO_THUNDER dependencies
After commit 90eff9096c01 ("net: phy: Allow splitting MDIO
bus/device support from PHYs") we could create a configuration where
MDIO_DEVICE=y and PHYLIB=m which leads to the following undefined
references:
drivers/built-in.o: In function `thunder_mdiobus_pci_remove':
>> mdio-thunder.c:(.text+0x2a212f): undefined reference to
>> `mdiobus_unregister'
>> mdio-thunder.c:(.text+0x2a2138): undefined reference to
>> `mdiobus_free'
drivers/built-in.o: In function `thunder_mdiobus_pci_probe':
mdio-thunder.c:(.text+0x2a22e7): undefined reference to
`devm_mdiobus_alloc_size'
mdio-thunder.c:(.text+0x2a236f): undefined reference to
`of_mdiobus_register'
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions