summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-08-01 22:25:29 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:27 +0200
commit99f453e9533f590fe40432b62c131625d7e91e46 (patch)
tree79f256ba93f39b3553ed95ea0d9a979f2d09807a /arch/arm/mach-socfpga/include/mach
parent1e8a85f8c570932529a20b5634845b2a998b4262 (diff)
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 8
Fix the return value so that standard errno return values can be used. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r--arch/arm/mach-socfpga/include/mach/sdram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h
index d57257df24..89240b8c06 100644
--- a/arch/arm/mach-socfpga/include/mach/sdram.h
+++ b/arch/arm/mach-socfpga/include/mach/sdram.h
@@ -9,7 +9,7 @@
#ifndef __ASSEMBLY__
unsigned long sdram_calculate_size(void);
-unsigned sdram_mmr_init_full(unsigned int sdr_phy_reg);
+int sdram_mmr_init_full(unsigned int sdr_phy_reg);
int sdram_calibration_full(void);
extern int sdram_calibration(void);