projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ed057
)
lin_gadget: use common mdelay
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 9 Apr 2012 13:39:54 +0000
(13:39 +0000)
committer
Anatolij Gustschin
<agust@denx.de>
Mon, 30 Apr 2012 14:54:51 +0000
(16:54 +0200)
No need to provide our own mdelay() macro when we have a func for it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/usb/lin_gadget_compat.h
patch
|
blob
|
history
diff --git
a/include/usb/lin_gadget_compat.h
b/include/usb/lin_gadget_compat.h
index
fce3be7
..
1b937e4
100644
(file)
--- a/
include/usb/lin_gadget_compat.h
+++ b/
include/usb/lin_gadget_compat.h
@@
-52,7
+52,6
@@
#define kmalloc(size, type) memalign(CONFIG_SYS_CACHELINE_SIZE, size)
#define kfree(addr) free(addr)
-#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); })
#define __iomem
#define min_t min