aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-main.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-05 16:50:28 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-05 16:50:28 -0500
commit41557e7c56dc96ddd0b068fe76d5118d516d4f04 (patch)
treee72711f46dbed6bd6d8ccab2dda25c36dc1e8070 /drivers/media/video/pvrusb2/pvrusb2-main.c
parentb285e0b78464f9a15a5095ac1dd5458ee7938714 (diff)
parent4f663bdc65307e38401aa3b787a7a7569f28b920 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (26 commits) V4L/DVB (6548): pvrusb2: Fix oops on module removal V4L/DVB (6547): V4L: remove PCI from VIDEO_VIVI depends V4L/DVB (6532): Add the remaining addresses for tda9887 V4L/DVB (6531): Fix a regression caused by commit 153962364dc6fa4a24571885fbe76506d8968610 V4L/DVB (6518): Fix tvp5150 default values V4L/DVB (6514): em28xx: Include linux/mm.h V4L/DVB (6506): saa7134-alsa: Fix mmap support V4L/DVB (6504): pvrusb2: Remove dead sysfs code V4L/DVB (6503): pvrusb2: Fix associativity logic error V4L/DVB (6501): stv0297: Signal strength fixes V4L/DVB (6500): tda10021: Fix reported signal strength V4L/DVB (6499): tda10021: Bit error counting fixed V4L/DVB (6498): ves1820: Change the acquisition range for clock recovery from 120 ppm to 240ppm V4L/DVB (6495): saa7146: saa7146_wait_for_debi_done fixes V4L/DVB (6479): use input functions, should depend on INPUT V4L/DVB (6478): ir-functions use input functions, should depend on INPUT V4L/DVB (6432): tuner: fix CONFIG_TUNER_TEA5761=m V4L/DVB (6407): planb: fix obvious interrupt handling bugs V4L/DVB (6406): saa7134: fix analog audio in on medion md8800 quadro V4L/DVB (6403): mt2131: replace comma with semicolon fix ...
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-main.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-main.c b/drivers/media/video/pvrusb2/pvrusb2-main.c
index ca9e2789c8ca..11b3b2e84b90 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-main.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-main.c
@@ -136,14 +136,13 @@ static int __init pvr_init(void)
136 136
137static void __exit pvr_exit(void) 137static void __exit pvr_exit(void)
138{ 138{
139
140 pvr2_trace(PVR2_TRACE_INIT,"pvr_exit"); 139 pvr2_trace(PVR2_TRACE_INIT,"pvr_exit");
141 140
141 usb_deregister(&pvr_driver);
142
142#ifdef CONFIG_VIDEO_PVRUSB2_SYSFS 143#ifdef CONFIG_VIDEO_PVRUSB2_SYSFS
143 pvr2_sysfs_class_destroy(class_ptr); 144 pvr2_sysfs_class_destroy(class_ptr);
144#endif /* CONFIG_VIDEO_PVRUSB2_SYSFS */ 145#endif /* CONFIG_VIDEO_PVRUSB2_SYSFS */
145
146 usb_deregister(&pvr_driver);
147} 146}
148 147
149module_init(pvr_init); 148module_init(pvr_init);