Skip to content

Commit 3d58021

Browse files
lyakhlgirdwood
authored andcommitted
probe: fix a variable size structure member
Variable size structure members are only allowed at the end. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 733c95a commit 3d58021

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/probe/probe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ struct probe_dma_ext {
8080
* Probe main struct
8181
*/
8282
struct probe_pdata {
83+
struct task dmap_work; /**< probe task */
8384
struct probe_dma_ext ext_dma; /**< extraction DMA */
8485
struct probe_dma_ext inject_dma[CONFIG_PROBE_DMA_MAX]; /**< injection DMA */
8586
struct probe_point probe_points[CONFIG_PROBE_POINTS_MAX]; /**< probe points */
8687
struct probe_data_packet header; /**< data packet header */
87-
struct task dmap_work; /**< probe task */
8888
};
8989

9090
/**

0 commit comments

Comments
 (0)