diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-13 19:48:07 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-13 19:48:07 +0000 |
commit | e420aed19a5f4a2715733f2a450e8958fa7e2638 (patch) | |
tree | 5fb53ac04f895826dc4ee1cfc421db287e3353c5 /linux/drivers/media/video/em28xx/em28xx-input.c | |
parent | 63e95e82206a96da300f95921d97fbd58dd2246c (diff) | |
download | mediapointer-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.c | 2 |
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...) \ |