diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-01-09 23:54:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:55 -0500 |
commit | 3c6bee1d4037a5c569f30d40bd852a57ba250912 (patch) | |
tree | dfa0259ccb4e0c823b81f3e040fb09ab17524bde /drivers/usb | |
parent | e7c368b7676bbe6145f14fbc87913596c9b93c11 (diff) |
[PATCH] turn "const static" into "static const"
ICC likes to complain about storage class not being first, GCC doesn't
care much (except for cases like "inline static").
have a hard time seeing how it could break anything.
Thanks to Gabriel A. Devenyi for pointing out
http://linuxicc.sourceforge.net/ which is what made me create this patch.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/atm/speedtch.c | 4 | ||||
-rw-r--r-- | drivers/usb/image/microtek.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index b28336148658..c1b47d74e206 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c | |||
@@ -532,9 +532,9 @@ static void speedtch_handle_int(struct urb *int_urb, struct pt_regs *regs) | |||
532 | int ret = int_urb->status; | 532 | int ret = int_urb->status; |
533 | 533 | ||
534 | /* The magic interrupt for "up state" */ | 534 | /* The magic interrupt for "up state" */ |
535 | const static unsigned char up_int[6] = { 0xa1, 0x00, 0x01, 0x00, 0x00, 0x00 }; | 535 | static const unsigned char up_int[6] = { 0xa1, 0x00, 0x01, 0x00, 0x00, 0x00 }; |
536 | /* The magic interrupt for "down state" */ | 536 | /* The magic interrupt for "down state" */ |
537 | const static unsigned char down_int[6] = { 0xa1, 0x00, 0x00, 0x00, 0x00, 0x00 }; | 537 | static const unsigned char down_int[6] = { 0xa1, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
538 | 538 | ||
539 | atm_dbg(usbatm, "%s entered\n", __func__); | 539 | atm_dbg(usbatm, "%s entered\n", __func__); |
540 | 540 | ||
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index 458f2acdeb0a..28538db9eaf3 100644 --- a/drivers/usb/image/microtek.c +++ b/drivers/usb/image/microtek.c | |||
@@ -674,7 +674,7 @@ struct vendor_product | |||
674 | 674 | ||
675 | 675 | ||
676 | /* These are taken from the msmUSB.inf file on the Windows driver CD */ | 676 | /* These are taken from the msmUSB.inf file on the Windows driver CD */ |
677 | const static struct vendor_product mts_supported_products[] = | 677 | static const struct vendor_product mts_supported_products[] = |
678 | { | 678 | { |
679 | { "Phantom 336CX", mts_sup_unknown}, | 679 | { "Phantom 336CX", mts_sup_unknown}, |
680 | { "Phantom 336CX", mts_sup_unknown}, | 680 | { "Phantom 336CX", mts_sup_unknown}, |