summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-21 02:28:59 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-24 02:25:43 (GMT)
commit4982f464203ea51665f6f4133535b7e8bfe98994 (patch)
treeaabc4245981c6a70a2dfbfd2cc38d1fc626ab7f1 /include/usb
parent2c61551b62dbd9df529dc06a412718b22cf02a82 (diff)
downloadu-boot-4982f464203ea51665f6f4133535b7e8bfe98994.tar.xz
Move ENOTSUPP defines to include/linux/errno.h
Collect a couple of duplicated defines into a single place. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/lin_gadget_compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/usb/lin_gadget_compat.h b/include/usb/lin_gadget_compat.h
index 29fb166..4a01585 100644
--- a/include/usb/lin_gadget_compat.h
+++ b/include/usb/lin_gadget_compat.h
@@ -13,8 +13,6 @@
#include <linux/compat.h>
/* common */
-#define ENOTSUPP 524 /* Operation is not supported */
-
#define BITS_PER_BYTE 8
#define BITS_TO_LONGS(nr) \
DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))