mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 14:11:29 +01:00
net: altera_tse: fix packed and aligned attribute
Fix packed and aligned attribute warnings. WARNING: __packed is preferred over __attribute__((packed)) #14: FILE: drivers/net/altera_tse.h:14: +#define __packed_1_ __attribute__ ((packed, aligned(1))) WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) #14: FILE: drivers/net/altera_tse.h:14: +#define __packed_1_ __attribute__ ((packed, aligned(1))) Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Chin Liang See <clsee@altera.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
2cd0a52ece
commit
13146ec938
@ -11,7 +11,7 @@
|
|||||||
#ifndef _ALTERA_TSE_H_
|
#ifndef _ALTERA_TSE_H_
|
||||||
#define _ALTERA_TSE_H_
|
#define _ALTERA_TSE_H_
|
||||||
|
|
||||||
#define __packed_1_ __attribute__ ((packed, aligned(1)))
|
#define __packed_1_ __packed __aligned(1)
|
||||||
|
|
||||||
/* SGDMA Stuff */
|
/* SGDMA Stuff */
|
||||||
#define ALT_SGDMA_STATUS_BUSY_MSK (0x00000010)
|
#define ALT_SGDMA_STATUS_BUSY_MSK (0x00000010)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user