summaryrefslogtreecommitdiffstats
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-11-05 14:04:52 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-09 13:21:25 -0500
commit5a3c7805c444d9d55f302a4b3930e8758be13fab (patch)
tree144978cb7a93b6c48eacc9cbaa47eabcd32dff15 /include/linux/stmmac.h
parent07a5e76924a1a4549bc176f49ec9e37ca7315b43 (diff)
downloadlinux-5a3c7805c444d9d55f302a4b3930e8758be13fab.tar.gz
linux-5a3c7805c444d9d55f302a4b3930e8758be13fab.tar.bz2
linux-5a3c7805c444d9d55f302a4b3930e8758be13fab.zip
Revert "net: stmmac: allow to split suspend/resume from init/exit callbacks"
Instead of adding hooks inside stmmac_platform it is better to just use the standard PM callbacks within the specific dwmac-driver. This only used by the dwmac-rk driver. This reverts commit cecbc5563a02 ("stmmac: allow to split suspend/resume from init/exit callbacks"). Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 705840e0438f..3537fb33cc90 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -135,8 +135,6 @@ struct plat_stmmacenet_data {
void (*bus_setup)(void __iomem *ioaddr);
int (*init)(struct platform_device *pdev, void *priv);
void (*exit)(struct platform_device *pdev, void *priv);
- void (*suspend)(struct platform_device *pdev, void *priv);
- void (*resume)(struct platform_device *pdev, void *priv);
void *bsp_priv;
struct stmmac_axi *axi;
int has_gmac4;