From: Seung-Woo Kim Date: Wed, 6 Mar 2019 08:35:32 +0000 (+0900) Subject: usb: dwc_otg: fiq_fsm: fix ignored-attributes build warnings X-Git-Tag: submit/tizen/20190614.014912~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcb10cc45d24cf694c288d83f4190402accc7e47;p=platform%2Fkernel%2Flinux-rpi3.git 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 --- 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]; }; /**