]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Remove static return type for phy_device_create()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 23 Feb 2022 14:45:41 +0000 (15:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 9 Mar 2022 11:43:16 +0000 (12:43 +0100)
commit739cb460bd944e61355c62e9c7b3fa4b270475cc
treeec1d56987dcae6722053a4dc67df57b69bb0f42c
parent79b2359b5b06d47107c9f205f700b8fb16ca1b90
net: phy: Remove static return type for phy_device_create()

Remove static return type for phy_device_create() to avoid file scope for
this function. Also add required prototype in phy.h.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Link: https://lore.kernel.org/r/1517f4053403fbd53e899d500e7485d068a4f0b6.1645627539.git.michal.simek@xilinx.com
drivers/net/phy/phy.c
include/phy.h