diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-16 23:43:06 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 00:25:07 +0100 |
commit | ea995abfed7f0726aaa22580aaf10b2cf5d91be5 (patch) | |
tree | 32bcc88b11bfe597e509bca9f149cc3b47591649 | |
parent | rt2x00: Add id for Corega CG-WLUSB2GPX (diff) | |
download | linux-ea995abfed7f0726aaa22580aaf10b2cf5d91be5.tar.xz linux-ea995abfed7f0726aaa22580aaf10b2cf5d91be5.zip |
wavelan_cs arm fix
Even when all fields are unsigned char, struct still might have
alignment > 1. Does so on arm, unless you explicitly say that
it's packed...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wavelan_cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wavelan_cs.h b/drivers/net/wireless/wavelan_cs.h index fabc63ee153c..2e4bfe4147c6 100644 --- a/drivers/net/wireless/wavelan_cs.h +++ b/drivers/net/wireless/wavelan_cs.h @@ -309,7 +309,7 @@ struct mmw_t #define MMW_EXT_ANT_INTERNAL 0x00 /* Internal antenna */ #define MMW_EXT_ANT_EXTERNAL 0x03 /* External antenna */ #define MMW_EXT_ANT_IQ_TEST 0x1C /* IQ test pattern (set to 0) */ -}; +} __attribute__((packed)); /* Size for structure checking (if padding is correct) */ #define MMW_SIZE 37 |