diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2013-08-19 18:43:07 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-08-20 10:46:26 -0700 |
commit | 7d0d355fee2fca6166994c96b606ca5868c879e2 (patch) | |
tree | 3a3dd391b451f2637339011d424cc819dde3079c /board/freescale/common/vsc3316_3308.c | |
parent | 6b44d9e5b79948a73f9fae4b84c21f62224fa46b (diff) | |
download | u-boot-imx-7d0d355fee2fca6166994c96b606ca5868c879e2.zip u-boot-imx-7d0d355fee2fca6166994c96b606ca5868c879e2.tar.gz u-boot-imx-7d0d355fee2fca6166994c96b606ca5868c879e2.tar.bz2 |
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.c')
-rw-r--r-- | board/freescale/common/vsc3316_3308.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/vsc3316_3308.c b/board/freescale/common/vsc3316_3308.c index 8a3dc33..97a25e8 100644 --- a/board/freescale/common/vsc3316_3308.c +++ b/board/freescale/common/vsc3316_3308.c @@ -31,7 +31,7 @@ int vsc_if_enable(unsigned int vsc_addr) return i2c_write(vsc_addr, INTERFACE_MODE_REG, 1, &data, 1); } -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) { unsigned int i; |