aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-10 00:55:14 +0100
committerWolfgang Denk <wd@denx.de>2008-01-10 00:55:14 +0100
commitd3a6532cbe263d992f49e86ac95bede28e96f9c8 (patch)
tree687561d091203e912658d34422fb969eb7ab3744 /api
parent694976afa5dcc5c4e7eaeaa0612eac35cd5bd8ec (diff)
downloadu-boot-linaro-stable-d3a6532cbe263d992f49e86ac95bede28e96f9c8.tar.gz
Coding Style cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'api')
-rw-r--r--api/README2
-rw-r--r--api/api.c12
-rw-r--r--api/api_net.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/api/README b/api/README
index c8f9c457c..6df225f58 100644
--- a/api/README
+++ b/api/README
@@ -22,7 +22,7 @@ U-Boot machine/arch independent API for external apps
- the U-Boot integral part of the API is meant to be thin and non-intrusive,
leaving as much processing as possible on the consumer application side,
for example it doesn't keep states, but relies on hints from the app and
- so on
+ so on
- optional (CONFIG_API)
diff --git a/api/api.c b/api/api.c
index 10f83eb69..0598d9082 100644
--- a/api/api.c
+++ b/api/api.c
@@ -231,7 +231,7 @@ static int API_dev_enum(va_list ap)
/* start over - clean up enumeration */
dev_enum_reset(); /* XXX shouldn't the name contain 'stor'? */
debugf("RESTART ENUM\n");
-
+
/* net device enumeration first */
if (dev_enum_net(di))
return 0;
@@ -365,7 +365,7 @@ static int API_dev_write(va_list ap)
return API_EINVAL;
if (di->type & DEV_TYP_STOR)
- /*
+ /*
* write to storage is currently not supported by U-Boot:
* no storage device implements block_write() method
*/
@@ -523,7 +523,7 @@ static int API_env_enum(va_list ap)
char *last, **next;
last = (char *)va_arg(ap, u_int32_t);
-
+
if ((next = (char **)va_arg(ap, u_int32_t)) == NULL)
return API_EINVAL;
@@ -540,7 +540,7 @@ static int API_env_enum(va_list ap)
return 0;
}
}
-
+
if (envmatch((uchar *)last, i) < 0)
continue;
@@ -567,7 +567,7 @@ static cfp_t calls_table[API_MAXCALL] = { NULL, };
* serviced until finished.
*
* e.g. syscall(1, int *, u_int32_t, u_int32_t, u_int32_t, u_int32_t);
- *
+ *
* call: syscall number
*
* retval: points to the return value placeholder, this is the place the
@@ -655,7 +655,7 @@ void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long siz
if (!si->mr || !size || (flags == 0))
return;
-
+
/* find free slot */
for (i = 0; i < si->mr_no; i++)
if (si->mr[i].flags == 0) {
diff --git a/api/api_net.c b/api/api_net.c
index 9b20a1740..9611ab0dd 100644
--- a/api/api_net.c
+++ b/api/api_net.c
@@ -75,7 +75,7 @@ int dev_close_net(void *cookie)
return 0;
}
-/*
+/*
* There can only be one active eth interface at a time - use what is
* currently set to eth_current
*/