]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
trivial: wusb: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 9 Feb 2009 22:07:35 +0000 (23:07 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Mar 2009 13:22:03 +0000 (15:22 +0200)
The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Acked-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/usb/wusb.h

index 5f401b644ed5794bc936b1dc631acdb13e88f254..429c631d2aad2b27c6e8da68bf7954ba2ea399b2 100644 (file)
@@ -80,8 +80,7 @@ struct wusb_ckhdid {
        u8 data[16];
 } __attribute__((packed));
 
-const static
-struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
+static const struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
 
 #define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1)