]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: Encapsulate sgmii ops under one structure
authorHemanth Puranik <hpuranik@codeaurora.org>
Wed, 16 May 2018 01:10:53 +0000 (06:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:33:27 +0000 (14:33 -0400)
commit4eb3af8ed3136e575dca3844810bc74619f31674
tree9872708030fc007fff6088acd0b5a7f7c4ebaefd
parent15a433850b4db27cae2d381443022812db4401c9
net: qcom/emac: Encapsulate sgmii ops under one structure

This patch introduces ops structure for sgmii, This by ensures that
we do not need dummy functions in case of emulation platforms.

Signed-off-by: Hemanth Puranik <hpuranik@codeaurora.org>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
drivers/net/ethernet/qualcomm/emac/emac-sgmii.h
drivers/net/ethernet/qualcomm/emac/emac.c