From: Kay Sievers Date: Thu, 16 Apr 2009 16:30:38 +0000 (-0300) Subject: V4L/DVB (11517): v4l: remove driver-core BUS_ID_SIZE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1351a58ce0481afd80b756ecd9307c9fbe9f39b4;p=linux-beck.git 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 Signed-off-by: Kay Sievers Signed-off-by: Mauro Carvalho Chehab --- 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.