V4L/DVB (7641): V4L: ov511 - use usb_interface as parent, not usb_device
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 18 Apr 2008 01:55:29 +0000 (22:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:44 +0000 (14:09 -0300)
commitce96d0a44a4f8d1bb3dc12b5e98cb688c1bc730d
treeb0a344c51acaa23ac8a23b52d1749099588a9d93
parent353a2761ffb3c4f43ec0c9c99bbe64629646b347
V4L/DVB (7641): V4L: ov511 - use usb_interface as parent, not usb_device

The current code creates a bogus DEVPATH:
  /devices/pci0000:00/0000:00:1d.0/usb1/1-2/video4linux/video0
while it should be:
  /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/video4linux/video0

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ov511.c