]> Pileus Git - ~andy/linux/blobdiff - drivers/media/video/gspca/sunplus.c
V4L/DVB (8718): gspca: suspend/resume added.
[~andy/linux] / drivers / media / video / gspca / sunplus.c
index 54efa48bee014cd55d3cde1912debbe6c348cd9b..c935384fc232b4a2c46040cdc19dabbd64f18b9d 100644 (file)
@@ -1456,6 +1456,10 @@ static struct usb_driver sd_driver = {
        .id_table = device_table,
        .probe = sd_probe,
        .disconnect = gspca_disconnect,
+#ifdef CONFIG_PM
+       .suspend = gspca_suspend,
+       .resume = gspca_resume,
+#endif
 };
 
 /* -- module insert / remove -- */