diff options
Diffstat (limited to 'drivers/net/wireless/libertas/if_spi.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.c b/drivers/net/wireless/libertas/if_spi.c index f8c2898d82b0..06a46d7b3d6c 100644 --- a/drivers/net/wireless/libertas/if_spi.c +++ b/drivers/net/wireless/libertas/if_spi.c | |||
@@ -43,8 +43,8 @@ struct if_spi_card { | |||
43 | struct lbs_private *priv; | 43 | struct lbs_private *priv; |
44 | struct libertas_spi_platform_data *pdata; | 44 | struct libertas_spi_platform_data *pdata; |
45 | 45 | ||
46 | char helper_fw_name[FIRMWARE_NAME_MAX]; | 46 | char helper_fw_name[IF_SPI_FW_NAME_MAX]; |
47 | char main_fw_name[FIRMWARE_NAME_MAX]; | 47 | char main_fw_name[IF_SPI_FW_NAME_MAX]; |
48 | 48 | ||
49 | /* The card ID and card revision, as reported by the hardware. */ | 49 | /* The card ID and card revision, as reported by the hardware. */ |
50 | u16 card_id; | 50 | u16 card_id; |
@@ -1019,9 +1019,9 @@ static int if_spi_calculate_fw_names(u16 card_id, | |||
1019 | lbs_pr_err("Unsupported chip_id: 0x%02x\n", card_id); | 1019 | lbs_pr_err("Unsupported chip_id: 0x%02x\n", card_id); |
1020 | return -EAFNOSUPPORT; | 1020 | return -EAFNOSUPPORT; |
1021 | } | 1021 | } |
1022 | snprintf(helper_fw, FIRMWARE_NAME_MAX, "libertas/gspi%d_hlp.bin", | 1022 | snprintf(helper_fw, IF_SPI_FW_NAME_MAX, "libertas/gspi%d_hlp.bin", |
1023 | chip_id_to_device_name[i].name); | 1023 | chip_id_to_device_name[i].name); |
1024 | snprintf(main_fw, FIRMWARE_NAME_MAX, "libertas/gspi%d.bin", | 1024 | snprintf(main_fw, IF_SPI_FW_NAME_MAX, "libertas/gspi%d.bin", |
1025 | chip_id_to_device_name[i].name); | 1025 | chip_id_to_device_name[i].name); |
1026 | return 0; | 1026 | return 0; |
1027 | } | 1027 | } |