summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2004-03-05 03:03:30 +0000
committerOliver Endriss <devnull@localhost>2004-03-05 03:03:30 +0000
commitfaee4a0ef457ebde343292fad383df29c77b562b (patch)
tree3c15766ab11b738eab458ae6b4e5bb7dd6b61856 /linux/drivers/media
parent8557e299a09ac7a2cdeb11b90faf79d56c6b0a3b (diff)
downloadmediapointer-dvb-s2-faee4a0ef457ebde343292fad383df29c77b562b.tar.gz
mediapointer-dvb-s2-faee4a0ef457ebde343292fad383df29c77b562b.tar.bz2
changed name of ir event device to a more useful string
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-ci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-ci.c b/linux/drivers/media/dvb/ttpci/budget-ci.c
index d83ca6d12..601109de8 100644
--- a/linux/drivers/media/dvb/ttpci/budget-ci.c
+++ b/linux/drivers/media/dvb/ttpci/budget-ci.c
@@ -45,6 +45,7 @@ struct budget_ci {
struct budget budget;
struct input_dev input_dev;
struct tasklet_struct msp430_irq_tasklet;
+ char ir_dev_name[50];
};
static u32 budget_debiread4 (struct saa7146_dev *saa, u32 config, int addr, int count)
@@ -188,7 +189,8 @@ static int msp430_ir_init (struct budget_ci *budget_ci)
memset(&budget_ci->input_dev, 0, sizeof(struct input_dev));
- budget_ci->input_dev.name = saa->name;
+ sprintf (budget_ci->ir_dev_name, "Budget-CI dvb ir receiver %s", saa->name);
+ budget_ci->input_dev.name = budget_ci->ir_dev_name;
set_bit(EV_KEY, budget_ci->input_dev.evbit);