diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-21 11:28:59 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 22:25:43 -0400 |
commit | 4982f464203ea51665f6f4133535b7e8bfe98994 (patch) | |
tree | aabc4245981c6a70a2dfbfd2cc38d1fc626ab7f1 /include/linux | |
parent | 2c61551b62dbd9df529dc06a412718b22cf02a82 (diff) | |
download | u-boot-4982f464203ea51665f6f4133535b7e8bfe98994.zip u-boot-4982f464203ea51665f6f4133535b7e8bfe98994.tar.gz u-boot-4982f464203ea51665f6f4133535b7e8bfe98994.tar.bz2 |
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/linux')
-rw-r--r-- | include/linux/compat.h | 2 | ||||
-rw-r--r-- | include/linux/errno.h | 2 |
2 files changed, 2 insertions, 2 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 |