aboutsummaryrefslogtreecommitdiff
path: root/api_examples/glue.c
diff options
context:
space:
mode:
authorWolfgang Denk2008-01-10 00:55:14 +0100
committerWolfgang Denk2008-01-10 00:55:14 +0100
commitd3a6532cbe263d992f49e86ac95bede28e96f9c8 (patch)
tree687561d091203e912658d34422fb969eb7ab3744 /api_examples/glue.c
parent694976afa5dcc5c4e7eaeaa0612eac35cd5bd8ec (diff)
Coding Style cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'api_examples/glue.c')
-rw-r--r--api_examples/glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api_examples/glue.c b/api_examples/glue.c
index 75983691fde..2bf47ae3d21 100644
--- a/api_examples/glue.c
+++ b/api_examples/glue.c
@@ -150,7 +150,7 @@ struct sys_info * ub_get_sys_info(void)
* timing
*
****************************************/
-
+
void ub_udelay(unsigned long usec)
{
syscall(API_UDELAY, NULL, &usec);
@@ -298,7 +298,7 @@ int ub_dev_read(int handle, void *buf, lbasize_t len, lbastart_t start)
if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len))
return -1;
- if (err)
+ if (err)
return err;
if (act_len != len)