aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fsl_pq_mdio.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-06-02 18:10:09 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-03 03:18:23 -0700
commitba2d3587912f82d1ab4367975b1df460db60fb1e (patch)
tree1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/fsl_pq_mdio.h
parent1273d97674a1782ff55b823aa6c40aea9b538aaf (diff)
downloadkernel_samsung_aries-ba2d3587912f82d1ab4367975b1df460db60fb1e.zip
kernel_samsung_aries-ba2d3587912f82d1ab4367975b1df460db60fb1e.tar.gz
kernel_samsung_aries-ba2d3587912f82d1ab4367975b1df460db60fb1e.tar.bz2
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/fsl_pq_mdio.h')
-rw-r--r--drivers/net/fsl_pq_mdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fsl_pq_mdio.h b/drivers/net/fsl_pq_mdio.h
index 1f7d865..bd17a2a 100644
--- a/drivers/net/fsl_pq_mdio.h
+++ b/drivers/net/fsl_pq_mdio.h
@@ -39,7 +39,7 @@ struct fsl_pq_mdio {
u8 reserved[28]; /* Space holder */
u32 utbipar; /* TBI phy address reg (only on UCC) */
u8 res4[2728];
-} __attribute__ ((packed));
+} __packed;
int fsl_pq_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
int fsl_pq_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);