summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ngene
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2009-12-22 03:34:29 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:54 -0300
commit948a119547cf5043b40c2151d6f6913fbcf65e38 (patch)
tree0828addba3ad16ba852ff0cdbf153773bdc2ef4d /drivers/media/dvb/ngene
parent44cdd064aa698c033e0a345ed187db7c24134d93 (diff)
V4L/DVB: ngene: Remove kernel version check for dvb_[un]register_adapter
Remove kernel version check for dvb_[un]register_adapter. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene')
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index 12810834d05a..72c06c66a952 100644
--- a/drivers/media/dvb/ngene/ngene-core.c
+++ b/drivers/media/dvb/ngene/ngene-core.c
@@ -2466,7 +2466,7 @@ static void release_channel(struct ngene_channel *chan)
static int init_channel(struct ngene_channel *chan)
{
int ret = 0, nr = chan->number;
- struct dvb_adapter *adapter = 0;
+ struct dvb_adapter *adapter = NULL;
struct dvb_demux *dvbdemux = &chan->demux;
struct ngene *dev = chan->dev;
struct ngene_info *ni = dev->card_info;