aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mdio-bitbang.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-04-19 01:02:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-19 15:59:10 -0400
commita3283e2576736463e07ddc684efb2e587a3bbda2 (patch)
tree54d8d050613cef045d09341a54e2de389a5c1c52 /include/linux/mdio-bitbang.h
parentnet: phy: mdio-gpio: Remove reset function (diff)
downloadlinux-dev-a3283e2576736463e07ddc684efb2e587a3bbda2.tar.xz
linux-dev-a3283e2576736463e07ddc684efb2e587a3bbda2.zip
net: phy: mdio-bitbang: Remove reset support
The mdio-gpio driver was the only user of the interface reset option. Since it no longer uses it, remove it from the bit banging code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mdio-bitbang.h')
-rw-r--r--include/linux/mdio-bitbang.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mdio-bitbang.h b/include/linux/mdio-bitbang.h
index a8ac9cfa014c..5d71e8a8500f 100644
--- a/include/linux/mdio-bitbang.h
+++ b/include/linux/mdio-bitbang.h
@@ -33,8 +33,6 @@ struct mdiobb_ops {
struct mdiobb_ctrl {
const struct mdiobb_ops *ops;
- /* reset callback */
- int (*reset)(struct mii_bus *bus);
};
/* The returned bus is not yet registered with the phy layer. */