From: Bjørn Mork Date: Sun, 14 Nov 2010 17:24:36 +0000 (-0300) Subject: [media] Mantis: use dvb_attach to avoid double dereferencing on module removal X-Git-Tag: v2.6.38-rc1~470^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a22407faba57c3624beea1a9fad7cbdcf5a19a1a;p=pandora-kernel.git [media] Mantis: use dvb_attach to avoid double dereferencing on module removal Convert the driver to use the dvb_attach macro to avoid the hard dependency on the frontend drivers. The hard dependecy will result in loading a number of unused frontends, and unwanted automatic dereferencing. This fixes a bug where unloading the mantis driver will derefence any attached frontend twice, which will cause an oops if the same frontend is used by another driver. Signed-off-by: Bjørn Mork Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed