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/include/media | |
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/include/media')
-rw-r--r-- | linux/include/media/ir-kbd-i2c.h | 1 |
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*); }; |