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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 11 Jun 2019 00:35:54 +0000 (09:35 +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 f517371..1e0ac88 100644 (file)
@@ -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];
 };
 
 /**