aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/wusb.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-02-09 17:07:35 -0500
committerJiri Kosina <jkosina@suse.cz>2009-03-30 09:22:03 -0400
commit39db4b8dd16b6d3b56fd3155f309e0eec8481c9a (patch)
tree7351f0c69574ff67ed4bcd3ed0c32a9159849335 /include/linux/usb/wusb.h
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/wusb.h')
-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 5f401b644ed5..429c631d2aad 100644
--- a/include/linux/usb/wusb.h
+++ b/include/linux/usb/wusb.h
@@ -80,8 +80,7 @@ struct wusb_ckhdid {
80 u8 data[16]; 80 u8 data[16];
81} __attribute__((packed)); 81} __attribute__((packed));
82 82
83const static 83static const struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
84struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
85 84
86#define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1) 85#define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1)
87 86