aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-02-09 23:07:35 +0100
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:22:03 +0200
commit39db4b8dd16b6d3b56fd3155f309e0eec8481c9a (patch)
tree7351f0c69574ff67ed4bcd3ed0c32a9159849335 /include/linux/usb
parent27157a70246c802a5e31996fdc75c7f2a1e548e3 (diff)
trivial: wusb: Storage class should be before const qualifier
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/wusb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/usb/wusb.h b/include/linux/usb/wusb.h
index 5f401b644ed..429c631d2aa 100644
--- a/include/linux/usb/wusb.h
+++ b/include/linux/usb/wusb.h
@@ -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)