diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-06-29 15:03:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-01 01:57:34 +0300 |
commit | 8b11c20a658de159fcf18ebce4f2acfdf747ff25 (patch) | |
tree | a108af20681fcab3ab87ff1dc44d1c2f262ec817 /drivers/net/phy/Makefile | |
parent | bd8ff6de0cf5b05bc7e1822aec79edac05b02a35 (diff) | |
download | linux-8b11c20a658de159fcf18ebce4f2acfdf747ff25.tar.xz |
phy: un-inline devm_mdiobus_register()
Functions should only be static inline if they're very short. This
devres helper is already over 10 lines and it will grow soon as we'll
be improving upon its approach. Pull it into mdio_devres.c.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Makefile')
-rw-r--r-- | drivers/net/phy/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index dc9e53b511d6..896afdcac437 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -3,7 +3,7 @@ libphy-y := phy.o phy-c45.o phy-core.o phy_device.o \ linkmode.o -mdio-bus-y += mdio_bus.o mdio_device.o +mdio-bus-y += mdio_bus.o mdio_device.o mdio_devres.o ifdef CONFIG_MDIO_DEVICE obj-y += mdio-boardinfo.o |