From 20bef24e32fbba770db1a3f6f2481745ea25603e Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 8 Oct 2003 22:59:11 +0000 Subject: fixed fe_count --- linux/drivers/media/dvb/frontends/nxt6000.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/dvb/frontends/nxt6000.c b/linux/drivers/media/dvb/frontends/nxt6000.c index 8af791c7b..93ca0c51c 100644 --- a/linux/drivers/media/dvb/frontends/nxt6000.c +++ b/linux/drivers/media/dvb/frontends/nxt6000.c @@ -880,7 +880,8 @@ static int nxt6000_attach(struct dvb_i2c_bus *i2c) dprintk("nxt6000: attached at %d:%d\n", i2c->adapter->num, i2c->id); dvb_register_frontend(nxt6000_ioctl, i2c, (void *)(*((u32 *)&nxt)), &nxt6000_info); - + + fe_count++; } return (fe_count > 0) ? 0 : -ENODEV; -- cgit v1.2.3