summaryrefslogtreecommitdiff
path: root/linux/include/media
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/include/media
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/include/media')
-rw-r--r--linux/include/media/ir-kbd-i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/media/ir-kbd-i2c.h b/linux/include/media/ir-kbd-i2c.h
index 07963d705..6a9719c8e 100644
--- a/linux/include/media/ir-kbd-i2c.h
+++ b/linux/include/media/ir-kbd-i2c.h
@@ -15,6 +15,7 @@ struct IR_i2c {
unsigned char old;
struct delayed_work work;
+ char name[32];
char phys[32];
int (*get_key)(struct IR_i2c*, u32*, u32*);
};