aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pmc-sierra/msp71xx/msp_prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pmc-sierra/msp71xx/msp_prom.c')
-rw-r--r--arch/mips/pmc-sierra/msp71xx/msp_prom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_prom.c b/arch/mips/pmc-sierra/msp71xx/msp_prom.c
index db00deb59b9c..0edb89a63516 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_prom.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_prom.c
@@ -99,7 +99,7 @@ static inline int str2eaddr(unsigned char *ea, unsigned char *str)
99 } 99 }
100 } 100 }
101 101
102 if (index == 5) { 102 if (index == 5) {
103 ea[index++] = num; 103 ea[index++] = num;
104 return 0; 104 return 0;
105 } else 105 } else
@@ -285,7 +285,7 @@ EXPORT_SYMBOL(identify_revision);
285char *prom_getenv(char *env_name) 285char *prom_getenv(char *env_name)
286{ 286{
287 /* 287 /*
288 * Return a pointer to the given environment variable. prom_envp 288 * Return a pointer to the given environment variable. prom_envp
289 * points to a null terminated array of pointers to variables. 289 * points to a null terminated array of pointers to variables.
290 * Environment variables are stored in the form of "memsize=64" 290 * Environment variables are stored in the form of "memsize=64"
291 */ 291 */