From sameo@linux.intel.com Tue Jun 2 14:54:18 2009 From: Samuel Ortiz Date: Wed, 27 May 2009 00:49:34 +0200 Subject: firmware: dvb/dvb-usb: prepare for FIRMWARE_NAME_MAX removal To: Greg Kroah-Hartmann , Andrew Morton , Mauro Carvalho Chehab Cc: Kay Sievers , Samuel Ortiz Message-ID: <20090526225140.732164177@linux.intel.com> From: Samuel Ortiz We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any firmware name length restriction. This patch changes the dvb_usb_device_properties firmware field accordingly. Signed-off-by: Samuel Ortiz Reviewed-by: Michael Krufky Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/dvb/dvb-usb/dvb-usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/media/dvb/dvb-usb/dvb-usb.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb.h @@ -196,7 +196,7 @@ struct dvb_usb_device_properties { #define CYPRESS_FX2 3 int usb_ctrl; int (*download_firmware) (struct usb_device *, const struct firmware *); - const char firmware[FIRMWARE_NAME_MAX]; + const char *firmware; int no_reconnect; int size_of_priv;