summaryrefslogtreecommitdiff
path: root/board/freescale/common/vsc3316_3308.h
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2013-08-19 18:43:07 +0800
committerYork Sun <yorksun@freescale.com>2013-08-20 10:46:26 -0700
commit7d0d355fee2fca6166994c96b606ca5868c879e2 (patch)
tree3a3dd391b451f2637339011d424cc819dde3079c /board/freescale/common/vsc3316_3308.h
parent6b44d9e5b79948a73f9fae4b84c21f62224fa46b (diff)
powerpc/common/vsc3316: remove const from vsc3316_config parameter define
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/common/vsc3316_3308.h')
-rw-r--r--board/freescale/common/vsc3316_3308.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/vsc3316_3308.h b/board/freescale/common/vsc3316_3308.h
index 4003fcdb23..2a49187779 100644
--- a/board/freescale/common/vsc3316_3308.h
+++ b/board/freescale/common/vsc3316_3308.h
@@ -12,7 +12,7 @@
#include <errno.h>
int vsc_if_enable(unsigned int vsc_addr);
-int vsc3316_config(unsigned int vsc_addr, const int8_t con_arr[][2],
+int vsc3316_config(unsigned int vsc_addr, int8_t con_arr[][2],
unsigned int num_con);
int vsc3308_config(unsigned int vsc_addr, const int8_t con_arr[][2],
unsigned int num_con);