V4L/DVB (4492): [dvb_attach] dvb_frontend_detach fix
authorOliver Endriss <o.endriss@gmx.de>
Tue, 8 Aug 2006 22:51:04 +0000 (19:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:31 +0000 (12:30 -0300)
dvb_frontend_detach() used invalid config option CONFIG_DVB_DETACH,
so dvb_frontend_detach() did not call symbol_put_addr().
Replaced CONFIG_DVB_DETACH by CONFIG_DVB_CORE_ATTACH.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 86dadc71cd61d9487114fca0ac24823f3b476277..3dd5dbafb330634c400e57d58b198eb21ef5c9a0 100644 (file)
@@ -1113,7 +1113,7 @@ int dvb_unregister_frontend(struct dvb_frontend* fe)
 }
 EXPORT_SYMBOL(dvb_unregister_frontend);
 
-#ifdef CONFIG_DVB_DETACH
+#ifdef CONFIG_DVB_CORE_ATTACH
 void dvb_frontend_detach(struct dvb_frontend* fe)
 {
        void *ptr;