summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-08-11 19:50:43 +0100
committerJakub Kicinski <kuba@kernel.org>2025-08-12 18:04:53 -0700
commit07bbbfe7addf5b032e04f3c38f0b183d067a3f0d (patch)
treee65ba3708940cb51d5de66f7c4412ce29280795e /rust/helpers/platform.c
parentc88c6b2db71e0e19a4cf5a009611abb798a89f05 (diff)
net: stmmac: add suspend()/resume() platform ops
Add suspend/resume platform operations, which, when populated, override the init/exit platform operations when we suspend and resume. These suspend()/resume() methods are called by core code, and thus are designed to support any struct device, not just platform devices. This allows them to be used by the PCI drivers we have. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1ulXbX-008gqZ-Bb@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions