diff options
Diffstat (limited to 'drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index fb6c4cc8477d..14e69a736eda 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -665,6 +665,10 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
665 | case BTTV_BOARD_TWINHAN_DST: | 665 | case BTTV_BOARD_TWINHAN_DST: |
666 | /* DST is not a frontend driver !!! */ | 666 | /* DST is not a frontend driver !!! */ |
667 | state = (struct dst_state *) kmalloc(sizeof (struct dst_state), GFP_KERNEL); | 667 | state = (struct dst_state *) kmalloc(sizeof (struct dst_state), GFP_KERNEL); |
668 | if (!state) { | ||
669 | printk("dvb_bt8xx: No memory\n"); | ||
670 | break; | ||
671 | } | ||
668 | /* Setup the Card */ | 672 | /* Setup the Card */ |
669 | state->config = &dst_config; | 673 | state->config = &dst_config; |
670 | state->i2c = card->i2c_adapter; | 674 | state->i2c = card->i2c_adapter; |