]> git.dujemihanovic.xyz Git - u-boot.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)
commit3249116d8381a1a8f0d17c95acecd7c78b40e569
treeec1d56987dcae6722053a4dc67df57b69bb0f42c
parentdb681d4929cac3f5d0a8ce638e7e5306fe6038d2
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