]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/video/via/via-core.c
Minimal support for viafb suspend/resume
[~shefty/rdma-dev.git] / drivers / video / via / via-core.c
index 69101ab9f7c9e8a38f46ee0086aab453a6ec8b5a..9b487a6a8d0875c1d8cdf6d222e8685ebd0f3e59 100644 (file)
@@ -644,6 +644,10 @@ static struct pci_driver via_driver = {
        .id_table       = via_pci_table,
        .probe          = via_pci_probe,
        .remove         = __devexit_p(via_pci_remove),
+#ifdef CONFIG_PM
+       .suspend        = viafb_suspend,
+       .resume         = viafb_resume,
+#endif
 };
 
 static int __init via_core_init(void)