summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
diff options
context:
space:
mode:
authorKevin Smith <kevin.smith@elecsyscorp.com>2015-10-23 17:53:19 +0000
committerLuka Perkov <luka.perkov@sartura.hr>2015-11-17 23:41:41 +0100
commit18c202aa5407f6315d62d26bd2b0be798623a945 (patch)
treef0540778a9e47b807296cc220ae91f1a246f1d9d /arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
parent544acb07ecebc096c9449e675481ba280311fb0b (diff)
downloadtalos-obmc-uboot-18c202aa5407f6315d62d26bd2b0be798623a945.tar.gz
talos-obmc-uboot-18c202aa5407f6315d62d26bd2b0be798623a945.zip
arm: mvebu: a38x: Add const to some function calls
Functions that do not modify the pointer passed should declare it as const. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by: Stefan Roese <sr@denx.de> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c')
-rw-r--r--arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
index 5f223f9b56..994741232b 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
@@ -13,7 +13,7 @@
#include "ctrl_pex.h"
#include "sys_env_lib.h"
-int hws_pex_config(struct serdes_map *serdes_map)
+int hws_pex_config(const struct serdes_map *serdes_map)
{
u32 pex_idx, tmp, next_busno, first_busno, temp_pex_reg,
temp_reg, addr, dev_id, ctrl_mode;
OpenPOWER on IntegriCloud