V4L/DVB (11517): v4l: remove driver-core BUS_ID_SIZE
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Apr 2009 16:30:38 +0000 (13:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:31 +0000 (18:20 -0300)
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>
include/media/v4l2-device.h

index 0dd3e8e..9afd39f 100644 (file)
@@ -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.