From faee4a0ef457ebde343292fad383df29c77b562b Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Fri, 5 Mar 2004 03:03:30 +0000 Subject: changed name of ir event device to a more useful string --- linux/drivers/media/dvb/ttpci/budget-ci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drivers') 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); -- cgit v1.2.3