aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-04-08 00:11:47 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:45:30 -0400
commit31a1854706707dc3b67eb0d3bf0f51c67d91c82e (patch)
tree724a4659f07d8b040578da07de3f07909336116d /drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
parent4f210e072235c3c123b068d348a1a02e624ff5be (diff)
V4L/DVB (5507): Pvrusb2: Gather USB bus address info and report it
The V4L2 API requires a unique bus_info string returned as part of the v4l2_capability structure. These changes gather up the USB address information, from the underlying device, into a string and report that out through v4l2 and via sysfs (for completeness). Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index 16bd74199601..ce66ab8ff2d8 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -283,6 +283,8 @@ struct pvr2_hdw {
283 int unit_number; /* ID for driver instance */ 283 int unit_number; /* ID for driver instance */
284 unsigned long serial_number; /* ID for hardware itself */ 284 unsigned long serial_number; /* ID for hardware itself */
285 285
286 char bus_info[32]; /* Bus location info */
287
286 /* Minor numbers used by v4l logic (yes, this is a hack, as there 288 /* Minor numbers used by v4l logic (yes, this is a hack, as there
287 should be no v4l junk here). Probably a better way to do this. */ 289 should be no v4l junk here). Probably a better way to do this. */
288 int v4l_minor_number_video; 290 int v4l_minor_number_video;