]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c2076224b748a20ab723109668c497729374eb1
treefe562c7fcd1100a1bc3b90f912813b77e5b37972
parente7960d70328277988bb08886fe13d563d673d1e4
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