summaryrefslogtreecommitdiff
path: root/include/usb/lin_gadget_compat.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-09 13:39:54 +0000
committerAnatolij Gustschin <agust@denx.de>2012-04-30 16:54:51 +0200
commit4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4 (patch)
tree0f3b6e720dcccb96075d3f16213d3f911bb11a27 /include/usb/lin_gadget_compat.h
parente3ed0575a7ce68c1c533978fc171c7611598dc4e (diff)
downloadu-boot-imx-4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4.zip
u-boot-imx-4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4.tar.gz
u-boot-imx-4e2c05873a7c51b13a8ddf1eeda4dc96c37013c4.tar.bz2
lin_gadget: use common mdelay
No need to provide our own mdelay() macro when we have a func for it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/usb/lin_gadget_compat.h')
-rw-r--r--include/usb/lin_gadget_compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/usb/lin_gadget_compat.h b/include/usb/lin_gadget_compat.h
index fce3be7..1b937e4 100644
--- 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