diff options
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 0d3e84bb6..6f857c609 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -514,7 +514,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) state->bt = card->bt; /* DST is not a frontend, attaching the ASIC */ - if ((dst_attach(state, &card->dvb_adapter)) < 0) { + if ((dst_attach(state, &card->dvb_adapter)) == NULL) { printk("%s: Could not find a Twinhan DST.\n", __FUNCTION__); break; } |