summaryrefslogtreecommitdiff
path: root/linux/Documentation
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 13:30:06 +0200
committerJanne Grunau <j@jannau.net>2009-04-01 13:30:06 +0200
commite3255d312e85e9972615aa15238507571b241cdb (patch)
treeb230ce191a9c5da0945e8f4d341e9cdecc7cc9d0 /linux/Documentation
parente149dc20dba1c192f28fbeab92aac7f004a41273 (diff)
downloadmediapointer-dvb-s2-e3255d312e85e9972615aa15238507571b241cdb.tar.gz
mediapointer-dvb-s2-e3255d312e85e9972615aa15238507571b241cdb.tar.bz2
v4l: use usb_interface for v4l2_device_register
From: Janne Grunau <j@jannau.net> If usb_interface.dev is used as dev parameter for v4l2_device_register v4l2_dev.name contains the v4l driver/module name and usb device and interface instead of a simple "usb x-y". It also matches the recommendation to set the parent devices for usb drivers. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
Diffstat (limited to 'linux/Documentation')
-rw-r--r--linux/Documentation/video4linux/v4l2-framework.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/Documentation/video4linux/v4l2-framework.txt b/linux/Documentation/video4linux/v4l2-framework.txt
index a31177390..4b54c629b 100644
--- a/linux/Documentation/video4linux/v4l2-framework.txt
+++ b/linux/Documentation/video4linux/v4l2-framework.txt
@@ -90,7 +90,7 @@ up before calling v4l2_device_register then it will be untouched. If dev is
NULL, then you *must* setup v4l2_dev->name before calling v4l2_device_register.
The first 'dev' argument is normally the struct device pointer of a pci_dev,
-usb_device or platform_device. It is rare for dev to be NULL, but it happens
+usb_interface or platform_device. It is rare for dev to be NULL, but it happens
with ISA devices or when one device creates multiple PCI devices, thus making
it impossible to associate v4l2_dev with a particular parent.