summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-13 19:48:07 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-13 19:48:07 +0000
commite420aed19a5f4a2715733f2a450e8958fa7e2638 (patch)
tree5fb53ac04f895826dc4ee1cfc421db287e3353c5 /linux/drivers/media/video/em28xx/em28xx-input.c
parent63e95e82206a96da300f95921d97fbd58dd2246c (diff)
downloadmediapointer-dvb-s2-e420aed19a5f4a2715733f2a450e8958fa7e2638.tar.gz
mediapointer-dvb-s2-e420aed19a5f4a2715733f2a450e8958fa7e2638.tar.bz2
ir-kbd-i2c: Don't use i2c_client.name for our own needs
From: Jean Delvare <khali@linux-fr.org> In the standard device driver binding model, the name field of struct i2c_client is used to match devices to their drivers, so we must stop using it for internal purposes. Define a separate field in struct IR_i2c as a replacement, and use it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-input.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-input.c b/linux/drivers/media/video/em28xx/em28xx-input.c
index 5382a6064..31e80a4f0 100644
--- a/linux/drivers/media/video/em28xx/em28xx-input.c
+++ b/linux/drivers/media/video/em28xx/em28xx-input.c
@@ -41,7 +41,7 @@ MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]");
#define i2cdprintk(fmt, arg...) \
if (ir_debug) { \
- printk(KERN_DEBUG "%s/ir: " fmt, ir->c.name , ## arg); \
+ printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \
}
#define dprintk(fmt, arg...) \