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)
commitd077536386595309060dda57e7b7474c501a589b
treef1da57ea2c6c11057985d317738787661336cf25
parent4678d6f970c2f7c0cbfefc0cc666432d153b321b
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