diff options
author | Dmitry Torokhov <dtor at mail.ru> | 2007-07-16 08:28:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:46 -0400 |
commit | 2c8a3a33558d3f5aa18b56eada66fbe712ee6bb7 (patch) | |
tree | b65a1b88c270a7d1ff6b6da16964c2278c3fe81a /drivers/media/dvb/cinergyT2 | |
parent | afb758c4b03b17ff856f2bd58e488d152b342875 (diff) |
V4L/DVB (5698): Input: drivers/media - switch to using input_dev->dev.parent
In preparation for struct class_device -> struct device input
core conversion switch to using input_dev->dev.parent when
specifying device position in sysfs tree.
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
Acked-by: Thierry Merle <thierry.merle@free.fr>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/cinergyT2')
-rw-r--r-- | drivers/media/dvb/cinergyT2/cinergyT2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/cinergyT2/cinergyT2.c b/drivers/media/dvb/cinergyT2/cinergyT2.c index b40af48a2edb..bc22064b50ef 100644 --- a/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/drivers/media/dvb/cinergyT2/cinergyT2.c | |||
@@ -829,7 +829,7 @@ static int cinergyt2_register_rc(struct cinergyt2 *cinergyt2) | |||
829 | input_dev->id.vendor = cinergyt2->udev->descriptor.idVendor; | 829 | input_dev->id.vendor = cinergyt2->udev->descriptor.idVendor; |
830 | input_dev->id.product = cinergyt2->udev->descriptor.idProduct; | 830 | input_dev->id.product = cinergyt2->udev->descriptor.idProduct; |
831 | input_dev->id.version = 1; | 831 | input_dev->id.version = 1; |
832 | input_dev->cdev.dev = &cinergyt2->udev->dev; | 832 | input_dev->dev.parent = &cinergyt2->udev->dev; |
833 | 833 | ||
834 | err = input_register_device(input_dev); | 834 | err = input_register_device(input_dev); |
835 | if (err) { | 835 | if (err) { |