summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/compat.h2
-rw-r--r--include/linux/errno.h2
-rw-r--r--include/usb/lin_gadget_compat.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 7236b8d..c7fd649 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -151,8 +151,6 @@ typedef unsigned long sector_t;
typedef unsigned long blkcnt_t;
#endif
-#define ENOTSUPP 524 /* Operation is not supported */
-
/* module */
#define THIS_MODULE 0
#define try_module_get(...) 1
diff --git a/include/linux/errno.h b/include/linux/errno.h
index 1a7a0b9..f3461b4 100644
--- a/include/linux/errno.h
+++ b/include/linux/errno.h
@@ -128,4 +128,6 @@
#define ENOMEDIUM 123 /* No medium found */
#define EMEDIUMTYPE 124 /* Wrong medium type */
+#define ENOTSUPP 524 /* Operation is not supported */
+
#endif
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))