]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: pci: switch to new PM API
authorAmit Shah <amit.shah@redhat.com>
Thu, 22 Dec 2011 11:28:25 +0000 (16:58 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:44 +0000 (15:44 +1030)
commita1405b481be1298eff5a010d9af52a130ef6d620
treef1da57ea2c6c11057985d317738787661336cf25
parent5a70dd58fd8c4dfef9de4becdf669b80198f2fcb
virtio: pci: switch to new PM API

The older PM API doesn't have a way to get notifications on hibernate
events.  Switch to the newer one that gives us those notifications.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c