Rename __attribute__((packed)) --> __packed
Also unify __attribute__ ((..)) to __attribute__((..)) and handle ((__packed__)) like ((packed)) Change-Id: Ie60a51c3fa92b5009724a5b7c2932e361bf3490c Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/15921 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -55,7 +55,7 @@ typedef volatile struct {
|
||||
u32 hcsparams;
|
||||
u32 hccparams;
|
||||
u64 hcsp_portroute;
|
||||
} __attribute__ ((packed)) hc_cap_t;
|
||||
} __packed hc_cap_t;
|
||||
|
||||
typedef volatile struct {
|
||||
u32 usbcmd;
|
||||
@@ -83,7 +83,7 @@ typedef volatile struct {
|
||||
u8 res2[0x40];
|
||||
u32 hostpc;
|
||||
/* hostpc register is used for CONFIG_LP_USB_EHCI_HOSTPC_ROOT_HUB_TT */
|
||||
} __attribute__ ((packed)) hc_op_t;
|
||||
} __packed hc_op_t;
|
||||
|
||||
typedef volatile struct {
|
||||
#define QTD_TERMINATE 1
|
||||
@@ -108,7 +108,7 @@ typedef volatile struct {
|
||||
#define QTD_TOGGLE_DATA1 (1 << QTD_TOGGLE_SHIFT)
|
||||
u32 bufptrs[5];
|
||||
u32 bufptrs64[5];
|
||||
} __attribute__ ((packed)) qtd_t;
|
||||
} __packed qtd_t;
|
||||
|
||||
typedef volatile struct {
|
||||
u32 horiz_link_ptr;
|
||||
@@ -132,7 +132,7 @@ typedef volatile struct {
|
||||
#define QH_PIPE_MULTIPLIER_SHIFT 30
|
||||
volatile u32 current_td_ptr;
|
||||
volatile qtd_t td;
|
||||
} __attribute__ ((packed)) ehci_qh_t;
|
||||
} __packed ehci_qh_t;
|
||||
|
||||
typedef struct ehci {
|
||||
hc_cap_t *capabilities;
|
||||
|
Reference in New Issue
Block a user