diff options
author | Michael Hunold <devnull@localhost> | 2004-06-22 14:28:03 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-06-22 14:28:03 +0000 |
commit | 337821723545ff1ac2823d33e13d660bb279b406 (patch) | |
tree | b5a3c3298563563f1bbe6ea085191d7abc9f46cf /linux/drivers/media/dvb/frontends/stv0299.c | |
parent | a7d61cec0fe82e1604c968a62bef0f310dd60c74 (diff) | |
download | mediapointer-dvb-s2-337821723545ff1ac2823d33e13d660bb279b406.tar.gz mediapointer-dvb-s2-337821723545ff1ac2823d33e13d660bb279b406.tar.bz2 |
- accidently inverted BUG_ON() logic
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0299.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 01c2fa948..7da577ea7 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -1387,7 +1387,7 @@ static int attach_adapter(struct i2c_adapter *adapter) return -EFAULT; } - BUG_ON(state->dvb); + BUG_ON(!state->dvb); ret = dvb_register_frontend_new (uni0299_ioctl, state->dvb, (void*) state, &uni0299_info); if (ret) { |