diff options
author | Cédric Le Goater <clg@kaod.org> | 2018-10-29 07:06:30 +0100 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-11-05 10:41:56 -0600 |
commit | 3bd796351f1b9cb8a08f7439bc46680acb27738b (patch) | |
tree | 18ff0b1ea7351ef387121a4f94dbdd449459ec21 /drivers | |
parent | f72b4a3ddecc11f33754988d16e122187f07b22f (diff) | |
download | u-boot-3bd796351f1b9cb8a08f7439bc46680acb27738b.tar.gz u-boot-3bd796351f1b9cb8a08f7439bc46680acb27738b.tar.bz2 u-boot-3bd796351f1b9cb8a08f7439bc46680acb27738b.zip |
net: ftgmac100: use the aligned() macro
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ftgmac100.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ftgmac100.h b/drivers/net/ftgmac100.h index 439b14d71e..9a789e4d5b 100644 --- a/drivers/net/ftgmac100.h +++ b/drivers/net/ftgmac100.h @@ -182,7 +182,7 @@ struct ftgmac100_txdes { unsigned int txdes1; unsigned int txdes2; /* not used by HW */ unsigned int txdes3; /* TXBUF_BADR */ -} __attribute__ ((aligned(16))); +} __aligned(16); #define FTGMAC100_TXDES0_TXBUF_SIZE(x) ((x) & 0x3fff) #define FTGMAC100_TXDES0_EDOTR BIT(15) @@ -208,7 +208,7 @@ struct ftgmac100_rxdes { unsigned int rxdes1; unsigned int rxdes2; /* not used by HW */ unsigned int rxdes3; /* RXBUF_BADR */ -} __attribute__ ((aligned(16))); +} __aligned(16); #define FTGMAC100_RXDES0_VDBC(x) ((x) & 0x3fff) #define FTGMAC100_RXDES0_EDORR BIT(15) |