aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/hd64570.h2
-rw-r--r--drivers/net/wan/hdlc_cisco.c4
-rw-r--r--drivers/net/wan/hdlc_fr.c2
-rw-r--r--drivers/net/wan/sdla.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wan/hd64570.h b/drivers/net/wan/hd64570.h
index 3839662ff201..e4f539ad071b 100644
--- a/drivers/net/wan/hd64570.h
+++ b/drivers/net/wan/hd64570.h
@@ -153,7 +153,7 @@ typedef struct {
153 u16 len; /* Data Length */ 153 u16 len; /* Data Length */
154 u8 stat; /* Status */ 154 u8 stat; /* Status */
155 u8 unused; /* pads to 2-byte boundary */ 155 u8 unused; /* pads to 2-byte boundary */
156}__attribute__ ((packed)) pkt_desc; 156}__packed pkt_desc;
157 157
158 158
159/* Packet Descriptor Status bits */ 159/* Packet Descriptor Status bits */
diff --git a/drivers/net/wan/hdlc_cisco.c b/drivers/net/wan/hdlc_cisco.c
index ee7083fbea50..b38ffa149aba 100644
--- a/drivers/net/wan/hdlc_cisco.c
+++ b/drivers/net/wan/hdlc_cisco.c
@@ -36,7 +36,7 @@ struct hdlc_header {
36 u8 address; 36 u8 address;
37 u8 control; 37 u8 control;
38 __be16 protocol; 38 __be16 protocol;
39}__attribute__ ((packed)); 39}__packed;
40 40
41 41
42struct cisco_packet { 42struct cisco_packet {
@@ -45,7 +45,7 @@ struct cisco_packet {
45 __be32 par2; 45 __be32 par2;
46 __be16 rel; /* reliability */ 46 __be16 rel; /* reliability */
47 __be32 time; 47 __be32 time;
48}__attribute__ ((packed)); 48}__packed;
49#define CISCO_PACKET_LEN 18 49#define CISCO_PACKET_LEN 18
50#define CISCO_BIG_PACKET_LEN 20 50#define CISCO_BIG_PACKET_LEN 20
51 51
diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c
index 0e52993e2079..0edb535bb2b5 100644
--- a/drivers/net/wan/hdlc_fr.c
+++ b/drivers/net/wan/hdlc_fr.c
@@ -112,7 +112,7 @@ typedef struct {
112 unsigned de: 1; 112 unsigned de: 1;
113 unsigned ea2: 1; 113 unsigned ea2: 1;
114#endif 114#endif
115}__attribute__ ((packed)) fr_hdr; 115}__packed fr_hdr;
116 116
117 117
118typedef struct pvc_device_struct { 118typedef struct pvc_device_struct {
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c
index e155938c4f82..f4125da2762f 100644
--- a/drivers/net/wan/sdla.c
+++ b/drivers/net/wan/sdla.c
@@ -330,7 +330,7 @@ struct _dlci_stat
330{ 330{
331 short dlci; 331 short dlci;
332 char flags; 332 char flags;
333} __attribute__((packed)); 333} __packed;
334 334
335struct _frad_stat 335struct _frad_stat
336{ 336{