9
0
Fork 0

treewide: Fix typo seperate -> separate

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-04-04 15:23:22 +02:00
parent 66f6e99a39
commit fe85ff4761
5 changed files with 7 additions and 7 deletions

View File

@ -155,7 +155,7 @@ static int do_cpuinfo(int argc, char *argv[])
implementer, architecture); implementer, architecture);
if (cache & (1 << 24)) { if (cache & (1 << 24)) {
/* seperate I/D cache */ /* separate I/D cache */
printf("I-cache: "); printf("I-cache: ");
decode_cache(cache & 0xfff); decode_cache(cache & 0xfff);
printf("D-cache: "); printf("D-cache: ");

View File

@ -22,7 +22,7 @@ int globalvar_add(const char *name,
* get a concatenated string of all globalvars beginning with 'match'. * get a concatenated string of all globalvars beginning with 'match'.
* This adds whitespaces between the different globalvars * This adds whitespaces between the different globalvars
*/ */
char *globalvar_get_match(const char *match, const char *seperator) char *globalvar_get_match(const char *match, const char *separator)
{ {
char *val = NULL; char *val = NULL;
struct param_d *param; struct param_d *param;
@ -31,7 +31,7 @@ char *globalvar_get_match(const char *match, const char *seperator)
if (!strncmp(match, param->name, strlen(match))) { if (!strncmp(match, param->name, strlen(match))) {
const char *p = dev_get_param(&global_device, param->name); const char *p = dev_get_param(&global_device, param->name);
if (val) { if (val) {
char *new = asprintf("%s%s%s", val, seperator, p); char *new = asprintf("%s%s%s", val, separator, p);
free(val); free(val);
val = new; val = new;
} else { } else {

View File

@ -1959,7 +1959,7 @@ BAREBOX_CMD_START(getopt)
BAREBOX_CMD_END BAREBOX_CMD_END
#endif #endif
BAREBOX_MAGICVAR(PATH, "colon seperated list of pathes to search for executables"); BAREBOX_MAGICVAR(PATH, "colon separated list of pathes to search for executables");
#ifdef CONFIG_HUSH_FANCY_PROMPT #ifdef CONFIG_HUSH_FANCY_PROMPT
BAREBOX_MAGICVAR(PS1, "hush prompt"); BAREBOX_MAGICVAR(PS1, "hush prompt");
#endif #endif

View File

@ -2,7 +2,7 @@
* This is a driver for the SDHC controller found in Freescale MX2/MX3 * This is a driver for the SDHC controller found in Freescale MX2/MX3
* SoCs. It is basically the same hardware as found on MX1 (imxmmc.c). * SoCs. It is basically the same hardware as found on MX1 (imxmmc.c).
* Unlike the hardware found on MX1, this hardware just works and does * Unlike the hardware found on MX1, this hardware just works and does
* not need all the quirks found in imxmmc.c, hence the seperate driver. * not need all the quirks found in imxmmc.c, hence the separate driver.
* *
* Copyright (C) 2009 Ilya Yanok, <yanok@emcraft.com> * Copyright (C) 2009 Ilya Yanok, <yanok@emcraft.com>
* Copyright (C) 2008 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de> * Copyright (C) 2008 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>

View File

@ -8,7 +8,7 @@ int globalvar_add(const char *name,
int (*set)(struct device_d *dev, struct param_d *p, const char *val), int (*set)(struct device_d *dev, struct param_d *p, const char *val),
const char *(*get)(struct device_d *, struct param_d *p), const char *(*get)(struct device_d *, struct param_d *p),
unsigned long flags); unsigned long flags);
char *globalvar_get_match(const char *match, const char *seperator); char *globalvar_get_match(const char *match, const char *separator);
void globalvar_set_match(const char *match, const char *val); void globalvar_set_match(const char *match, const char *val);
#else #else
static inline int globalvar_add_simple(const char *name) static inline int globalvar_add_simple(const char *name)
@ -24,7 +24,7 @@ static inline int globalvar_add(const char *name,
return 0; return 0;
} }
static inline char *globalvar_get_match(const char *match, const char *seperator) static inline char *globalvar_get_match(const char *match, const char *separator)
{ {
return NULL; return NULL;
} }