summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c2
-rw-r--r--linux/drivers/media/dvb/frontends/ves1x93.c2
2 files changed, 2 insertions, 2 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) {
diff --git a/linux/drivers/media/dvb/frontends/ves1x93.c b/linux/drivers/media/dvb/frontends/ves1x93.c
index 5162c3c46..0bd02b698 100644
--- a/linux/drivers/media/dvb/frontends/ves1x93.c
+++ b/linux/drivers/media/dvb/frontends/ves1x93.c
@@ -636,7 +636,7 @@ static int attach_adapter(struct i2c_adapter *adapter)
return -EFAULT;
}
- BUG_ON(state->dvb);
+ BUG_ON(!state->dvb);
ret = dvb_register_frontend_new (ves1x93_ioctl, state->dvb, (void*) state, &ves1x93_info);
if (ret) {