diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 14:10:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 06:18:23 -0400 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/wireless/adm8211.h | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) |
drivers/net: use __packed annotation
cleanup patch.
Use new __packed annotation in drivers/net/
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/adm8211.h')
-rw-r--r-- | drivers/net/wireless/adm8211.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/adm8211.h b/drivers/net/wireless/adm8211.h index b07e4d3a6b4d..bbc10b1cde87 100644 --- a/drivers/net/wireless/adm8211.h +++ b/drivers/net/wireless/adm8211.h | |||
@@ -80,7 +80,7 @@ struct adm8211_csr { | |||
80 | __le32 FEMR; /* 0x104 */ | 80 | __le32 FEMR; /* 0x104 */ |
81 | __le32 FPSR; /* 0x108 */ | 81 | __le32 FPSR; /* 0x108 */ |
82 | __le32 FFER; /* 0x10C */ | 82 | __le32 FFER; /* 0x10C */ |
83 | } __attribute__ ((packed)); | 83 | } __packed; |
84 | 84 | ||
85 | /* CSR0 - PAR (PCI Address Register) */ | 85 | /* CSR0 - PAR (PCI Address Register) */ |
86 | #define ADM8211_PAR_MWIE (1 << 24) | 86 | #define ADM8211_PAR_MWIE (1 << 24) |
@@ -484,7 +484,7 @@ struct adm8211_tx_hdr { | |||
484 | u8 entry_control; // huh?? | 484 | u8 entry_control; // huh?? |
485 | u16 reserved_1; | 485 | u16 reserved_1; |
486 | u32 reserved_2; | 486 | u32 reserved_2; |
487 | } __attribute__ ((packed)); | 487 | } __packed; |
488 | 488 | ||
489 | 489 | ||
490 | #define RX_COPY_BREAK 128 | 490 | #define RX_COPY_BREAK 128 |
@@ -531,7 +531,7 @@ struct adm8211_eeprom { | |||
531 | u8 lnags_threshold[14]; /* 0x70 */ | 531 | u8 lnags_threshold[14]; /* 0x70 */ |
532 | __le16 checksum; /* 0x7E */ | 532 | __le16 checksum; /* 0x7E */ |
533 | u8 cis_data[0]; /* 0x80, 384 bytes */ | 533 | u8 cis_data[0]; /* 0x80, 384 bytes */ |
534 | } __attribute__ ((packed)); | 534 | } __packed; |
535 | 535 | ||
536 | struct adm8211_priv { | 536 | struct adm8211_priv { |
537 | struct pci_dev *pdev; | 537 | struct pci_dev *pdev; |