summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-08-21 16:25:31 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-08-21 16:25:31 +0200
commitb9ae7f8e368d1e376130025e9d903db00e39a414 (patch)
tree2849071c2fb06f70dbd21bf5be03b626d4090a27 /linux/drivers/media/video/gspca/zc3xx.c
parentfe4bc624af9585529df5e185c813d5804eec23c6 (diff)
downloadmediapointer-dvb-s2-b9ae7f8e368d1e376130025e9d903db00e39a414.tar.gz
mediapointer-dvb-s2-b9ae7f8e368d1e376130025e9d903db00e39a414.tar.bz2
gspca: suspend/resume added.
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/zc3xx.c')
-rw-r--r--linux/drivers/media/video/gspca/zc3xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/zc3xx.c b/linux/drivers/media/video/gspca/zc3xx.c
index 468b01b8f..d6aa970cf 100644
--- a/linux/drivers/media/video/gspca/zc3xx.c
+++ b/linux/drivers/media/video/gspca/zc3xx.c
@@ -7596,6 +7596,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
};
static int __init sd_mod_init(void)