summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/sonixj.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/sonixj.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/sonixj.c')
-rw-r--r--linux/drivers/media/video/gspca/sonixj.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/sonixj.c b/linux/drivers/media/video/gspca/sonixj.c
index 9ab29155b..217a31a0e 100644
--- a/linux/drivers/media/video/gspca/sonixj.c
+++ b/linux/drivers/media/video/gspca/sonixj.c
@@ -1672,6 +1672,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 -- */