diff options
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/sddr09.c | 2 | ||||
-rw-r--r-- | drivers/usb/storage/usb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/storage/sddr09.c b/drivers/usb/storage/sddr09.c index 0ea2f5ab66ba..0a6efae452fb 100644 --- a/drivers/usb/storage/sddr09.c +++ b/drivers/usb/storage/sddr09.c | |||
@@ -237,7 +237,7 @@ static void nand_store_ecc(unsigned char *data, unsigned char *ecc) { | |||
237 | #define SPARE 0xfffffffe | 237 | #define SPARE 0xfffffffe |
238 | #define UNUSABLE 0xfffffffd | 238 | #define UNUSABLE 0xfffffffd |
239 | 239 | ||
240 | static int erase_bad_lba_entries = 0; | 240 | static const int erase_bad_lba_entries = 0; |
241 | 241 | ||
242 | /* send vendor interface command (0x41) */ | 242 | /* send vendor interface command (0x41) */ |
243 | /* called for requests 0, 1, 8 */ | 243 | /* called for requests 0, 1, 8 */ |
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 484ed297bed0..356f471ba83b 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -470,7 +470,7 @@ static void get_device_info(struct us_data *us, const struct usb_device_id *id) | |||
470 | * from the unusual_devs.h table. | 470 | * from the unusual_devs.h table. |
471 | */ | 471 | */ |
472 | if (id->idVendor || id->idProduct) { | 472 | if (id->idVendor || id->idProduct) { |
473 | static char *msgs[3] = { | 473 | static const char *msgs[3] = { |
474 | "an unneeded SubClass entry", | 474 | "an unneeded SubClass entry", |
475 | "an unneeded Protocol entry", | 475 | "an unneeded Protocol entry", |
476 | "unneeded SubClass and Protocol entries"}; | 476 | "unneeded SubClass and Protocol entries"}; |