ahci: platform support for suspend/resume
authorBrian Norris <computersforpeace@gmail.com>
Fri, 18 Nov 2011 19:10:10 +0000 (11:10 -0800)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 9 Jan 2012 00:14:59 +0000 (19:14 -0500)
commit17ab594fa5f6c766a3daf304d2e6b643f863c24c
treefe562c7fcd1100a1bc3b90f912813b77e5b37972
parent80a9c430007b489823bc1b5300f4a1ba39ca1ef9
ahci: platform support for suspend/resume

Add platform hooks for custom suspend() and resume() functions. The
generic suspend/resume code in drivers/ata/ahci_platform.c is adapted
from the PCI version in drivers/ata/ahci.c.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci_platform.c
include/linux/ahci_platform.h