summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <devnull@localhost>2005-04-23 19:16:15 +0000
committerManu Abraham <devnull@localhost>2005-04-23 19:16:15 +0000
commit4a88b437616264e238d5443c87bae1fecc9201c3 (patch)
tree0d7169ff4b18449ddd2eb1297a02af4cca795913 /linux/drivers/media/dvb
parent72ae784fc98d80617b7f1992f4855327370efe4e (diff)
downloadmediapointer-dvb-s2-4a88b437616264e238d5443c87bae1fecc9201c3.tar.gz
mediapointer-dvb-s2-4a88b437616264e238d5443c87bae1fecc9201c3.tar.bz2
Fixed the NULL frontend registration bug, Patch by Steffen Motzer
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c2
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;
}