diff options
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget-core.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c index e657885da..14ddd5db2 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c +++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c @@ -313,8 +313,8 @@ int budget_register(struct budget_s *budget) dvb_add_frontend_ioctls (budget->dvb_adapter, budget_diseqc_ioctl, NULL, budget); memcpy(budget->demux_id, "demux0_0", 9); - budget->demux_id[7]=budget->dvb_adapter->num+0x30; - dvbdemux->priv=(void *) budget; + budget->demux_id[5] = budget->dvb_adapter->num + '0'; + dvbdemux->priv = (void *) budget; dvbdemux->filternum=256; dvbdemux->feednum=256; diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 45a60101d..9a2289d41 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -3987,8 +3987,8 @@ int av7110_register(av7110_t *av7110) av7110->display_ar=VIDEO_FORMAT_4_3; memcpy(av7110->demux_id, "demux0_0", 9); - av7110->demux_id[7]=av7110->dvb_adapter->num+0x30; - dvbdemux->priv=(void *) av7110; + av7110->demux_id[5] = av7110->dvb_adapter->num + '0'; + dvbdemux->priv = (void *) av7110; // if (av7110->card_type->type==DVB_CARD_TT_SIEMENS) { for (i=0; i<32; i++) |