net: phy: Properly define genphy_c45_driver
authorAndrew Lunn <andrew@lunn.ch>
Tue, 7 Jul 2020 01:49:35 +0000 (03:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 19:47:10 +0000 (12:47 -0700)
commit3970ed49a46bd0b062870edcc0894b2bd820371d
tree0ad7e828a9fbee2e4a6f0fbe83a65d2270832389
parent19c5a5fec30bde10d269a9f638566195016c90ed
net: phy: Properly define genphy_c45_driver

Avoid the W=1 warning that symbol 'genphy_c45_driver' was not
declared. Should it be static?

Declare it on the phy header file.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h