summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2016-06-15 21:32:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-17 00:14:58 +0300
commitcecbc5563a02289164fa6379130243cbe08b2dd6 (patch)
treeb7a37d0b6e44dcddc076bc52e1a6620814179eea /include/linux/stackprotector.h
parent141ddefce7c807c5e34b67be50b4a789a51f4a56 (diff)
downloadlinux-cecbc5563a02289164fa6379130243cbe08b2dd6.tar.xz
net: stmmac: allow to split suspend/resume from init/exit callbacks
Let the stmmac platform drivers provide dedicated suspend and resume callbacks rather than always re-using the init and exits callbacks. If the driver does not provide the suspend or resume callback, we fall back to the old behavior trying to use exit or init. This allows a specific platform to perform only a partial power-down on suspend if Wake-on-Lan is enabled but always perform the full shutdown sequence if the module is unloaded. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions