summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPan Jiafei <Jiafei.Pan@freescale.com>2015-05-06 05:07:48 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-05-14 05:46:50 (GMT)
commitfcb98ca99626b913043d7f0264601ec04a7fbf10 (patch)
tree41e07caf9ea7307c7081fc141a94dd2cd3a4ed0e /include
parent0af4b6a3b092660a7b90f3f5c0bf7942e76eec3a (diff)
downloadlinux-fsl-qoriq-fcb98ca99626b913043d7f0264601ec04a7fbf10.tar.xz
fmd: fix ioctl of FM_CtrlMonGetCounters
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com> Change-Id: If3f1264a02dbc9241b10e6050ff0c55c17170ab1 Reviewed-on: http://git.am.freescale.net:8181/35983 Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/fmd/Peripherals/fm_ioctls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/fmd/Peripherals/fm_ioctls.h b/include/uapi/linux/fmd/Peripherals/fm_ioctls.h
index 54e65b7..e0c2dd3 100644
--- a/include/uapi/linux/fmd/Peripherals/fm_ioctls.h
+++ b/include/uapi/linux/fmd/Peripherals/fm_ioctls.h
@@ -328,7 +328,7 @@ typedef struct ioc_fm_vsp_prs_result_params_t {
#endif
typedef struct fm_ctrl_mon_t {
- uint8_t percent_cnt[1];
+ uint8_t percent_cnt[2];
} fm_ctrl_mon_t;
typedef struct ioc_fm_ctrl_mon_counters_params_t {