diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-03 15:48:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 17:36:58 -0400 |
commit | 6a709749228c5f76f128c69c16f39a52d639bd96 (patch) | |
tree | 1fffc8a2fc92674153c9d065d8a9d134caf3a507 /drivers/media/video/gspca/spca501.c | |
parent | 5d05294ac8f6b5d592ee3379fbddd0fb9d1b4c87 (diff) |
V4L/DVB (8718): gspca: suspend/resume added.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/spca501.c')
-rw-r--r-- | drivers/media/video/gspca/spca501.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/spca501.c b/drivers/media/video/gspca/spca501.c index 51a3c3429ef0..525f1b3400e4 100644 --- a/drivers/media/video/gspca/spca501.c +++ b/drivers/media/video/gspca/spca501.c | |||
@@ -2154,6 +2154,10 @@ static struct usb_driver sd_driver = { | |||
2154 | .id_table = device_table, | 2154 | .id_table = device_table, |
2155 | .probe = sd_probe, | 2155 | .probe = sd_probe, |
2156 | .disconnect = gspca_disconnect, | 2156 | .disconnect = gspca_disconnect, |
2157 | #ifdef CONFIG_PM | ||
2158 | .suspend = gspca_suspend, | ||
2159 | .resume = gspca_resume, | ||
2160 | #endif | ||
2157 | }; | 2161 | }; |
2158 | 2162 | ||
2159 | /* -- module insert / remove -- */ | 2163 | /* -- module insert / remove -- */ |