firmware: dvb/dvb-usb: prepare for FIRMWARE_NAME_MAX removal
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 26 May 2009 22:49:34 +0000 (00:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:25 +0000 (21:30 -0700)
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 <sameo@linux.intel.com>
Reviewed-by: Michael Krufky <mkrufky@kernellabs.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/dvb-usb/dvb-usb.h

index 2d5352e54dc018d05959ab9d83f5634e126d2b83..b5157518a300f01b06eda411862ea106c88ab7d3 100644 (file)
@@ -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;