Commit 4327b77e authored by Samuel Ortiz's avatar Samuel Ortiz Committed by Greg Kroah-Hartman

firmware: tuners/xc2028: prepare for FIRMWARE_NAME_MAX removal

We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any
firmware name length restriction.
This patch gets rid of the xc2028 FIRMWARE_NAME_MAX reference.
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ade901d7
...@@ -48,7 +48,7 @@ MODULE_PARM_DESC(audio_std, ...@@ -48,7 +48,7 @@ MODULE_PARM_DESC(audio_std,
"NICAM/A\n" "NICAM/A\n"
"NICAM/B\n"); "NICAM/B\n");
static char firmware_name[FIRMWARE_NAME_MAX]; static char firmware_name[30];
module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0); module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0);
MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the " MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the "
"default firmware name\n"); "default firmware name\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment