summaryrefslogtreecommitdiffstats
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
parent734dd236a6045ca764d12ed0fd6a7c1e9a928ac1 (diff)
downloadlinux-1351a58ce0481afd80b756ecd9307c9fbe9f39b4.tar.bz2
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>
-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 0dd3e8e8653e..9afd39fb2cfc 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.