usb: dwc_otg: fiq_fsm: fix ignored-attributes build warnings
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 6 Mar 2019 08:35:32 +0000 (17:35 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 6 Jul 2020 09:07:44 +0000 (18:07 +0900)
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 <sw0312.kim@samsung.com>
drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.h

index 537cc23..337382b 100644 (file)
@@ -259,12 +259,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];
 };
 
 /**