V4L/DVB (12817): tm6000: add a missing symbol_put
authorMichel Ludwig <michel.ludwig@gmail.com>
Fri, 16 Nov 2007 21:07:12 +0000 (18:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:40:00 +0000 (00:40 -0300)
Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-dvb.c

index 15133109f7eccff4c70e440318ab6792002b58a8..b423795f0017f9f878e3355845304e2d524d207a 100644 (file)
@@ -315,6 +315,9 @@ void tm6000_dvb_unregister(struct tm6000_core *dev)
 //     mutex_lock(&tm6000_driver.open_close_mutex);
        if(dvb->frontend) {
                dvb_unregister_frontend(dvb->frontend);
+#ifdef CONFIG_DVB_CORE_ATTACH
+               symbol_put(xc3028_attach);
+#endif
        }
 
        dvb_dmxdev_release(&dvb->dmxdev);