summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-device.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-04-16 13:30:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:31 -0300
commit1351a58ce0481afd80b756ecd9307c9fbe9f39b4 (patch)
treeb4ef53b6b8e463ec5efab5961a361f6f580db83e /include/media/v4l2-device.h
parent734dd236a6045ca764d12ed0fd6a7c1e9a928ac1 (diff)
downloadop-kernel-dev-1351a58ce0481afd80b756ecd9307c9fbe9f39b4.zip
op-kernel-dev-1351a58ce0481afd80b756ecd9307c9fbe9f39b4.tar.gz
V4L/DVB (11517): v4l: remove driver-core BUS_ID_SIZE
The name size limit is gone from the driver core, the BUS_ID_SIZE value will be removed. Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-device.h')
-rw-r--r--include/media/v4l2-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-device.h b/include/media/v4l2-device.h
index 0dd3e8e..9afd39f 100644
--- a/include/media/v4l2-device.h
+++ b/include/media/v4l2-device.h
@@ -30,7 +30,7 @@
basic V4L2 device-level support.
*/
-#define V4L2_DEVICE_NAME_SIZE (BUS_ID_SIZE + 16)
+#define V4L2_DEVICE_NAME_SIZE (20 + 16)
struct v4l2_device {
/* dev->driver_data points to this struct.
OpenPOWER on IntegriCloud