]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: use custom init/exit functions in pm ops
authorFrancesco Virlinzi <francesco.virlinzi@st.com>
Wed, 18 Apr 2012 19:48:19 +0000 (19:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2012 00:08:44 +0000 (20:08 -0400)
commit0023ab2ad9c86ae14991209c5e0bc3bc26180845
tree8326e0a296ed075a78182a19b8e8a4391b72e538
parentefe6b583dcb90acf47f69b0bc1031f22013c081b
stmmac: use custom init/exit functions in pm ops

Freeze and restore can call the custom init/exit functions.
Also the patch adds a custom data field that can be used
for storing platform data useful on restore the embedded
setup (e.g. GPIO, SYSCFG).

Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h