diff options
author | Dmitry Torokhov <dtor at mail.ru> | 2007-07-16 14:28:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 19:23:46 +0200 |
commit | 2c8a3a33558d3f5aa18b56eada66fbe712ee6bb7 (patch) | |
tree | b65a1b88c270a7d1ff6b6da16964c2278c3fe81a /drivers/media/video/cx88/cx88-input.c | |
parent | V4L/DVB (5701): Documentation/dvb/bt8xx.txt update (diff) | |
download | linux-2c8a3a33558d3f5aa18b56eada66fbe712ee6bb7.tar.xz linux-2c8a3a33558d3f5aa18b56eada66fbe712ee6bb7.zip |
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/video/cx88/cx88-input.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c index 7ff901f0bf68..ddfae9f80ade 100644 --- a/drivers/media/video/cx88/cx88-input.c +++ b/drivers/media/video/cx88/cx88-input.c @@ -324,7 +324,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) input_dev->id.vendor = pci->vendor; input_dev->id.product = pci->device; } - input_dev->cdev.dev = &pci->dev; + input_dev->dev.parent = &pci->dev; /* record handles to ourself */ ir->core = core; core->ir = ir; |