From bcb10cc45d24cf694c288d83f4190402accc7e47 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 6 Mar 2019 17:35:32 +0900 Subject: [PATCH] usb: dwc_otg: fiq_fsm: fix ignored-attributes build warnings The attribute is required to be set on struct definition. Fix ignored-attributes build warnings by moving attribute flag. Change-Id: I8f138932bcd95abec952601371c8acbda890b876 Signed-off-by: Seung-Woo Kim --- drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h b/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h index f51737142188..1e0ac8893b3b 100644 --- a/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h +++ b/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h @@ -257,12 +257,12 @@ struct __attribute__((packed)) fiq_split_dma_slot { u8 buf[188]; }; -struct fiq_dma_channel { - struct __attribute__((packed)) fiq_split_dma_slot index[6]; +struct __attribute__((packed)) fiq_dma_channel { + struct fiq_split_dma_slot index[6]; }; -struct fiq_dma_blob { - struct __attribute__((packed)) fiq_dma_channel channel[0]; +struct __attribute__((packed)) fiq_dma_blob { + struct fiq_dma_channel channel[0]; }; /** -- 2.34.1