diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 18:10:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 03:18:23 -0700 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/irda/vlsi_ir.h | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) | |
download | op-kernel-dev-ba2d3587912f82d1ab4367975b1df460db60fb1e.zip op-kernel-dev-ba2d3587912f82d1ab4367975b1df460db60fb1e.tar.gz |
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/irda/vlsi_ir.h')
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index 3050d1a..3f24a1f3 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h @@ -544,9 +544,9 @@ struct ring_descr_hw { struct { u8 addr_res[3]; volatile u8 status; /* descriptor status */ - } __attribute__((packed)) rd_s; - } __attribute((packed)) rd_u; -} __attribute__ ((packed)); + } __packed rd_s; + } __packed rd_u; +} __packed; #define rd_addr rd_u.addr #define rd_status rd_u.rd_s.status |