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