V4L/DVB: ngene: Remove kernel version check for dvb_[un]register_adapter
Oliver Endriss [Tue, 22 Dec 2009 06:34:29 +0000 (03:34 -0300)]
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>

drivers/media/dvb/ngene/ngene-core.c

index 1281083..72c06c6 100644 (file)
@@ -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;