From: Cédric Le Goater Date: Mon, 29 Oct 2018 06:06:30 +0000 (+0100) Subject: net: ftgmac100: use the aligned() macro X-Git-Tag: v2019.01-rc1~36^2^2~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3bd796351f1b9cb8a08f7439bc46680acb27738b;p=oweals%2Fu-boot.git net: ftgmac100: use the aligned() macro Signed-off-by: Cédric Le Goater Reviewed-by: Joel Stanley Acked-by: Joe Hershberger --- 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)