提交 4982f464 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

Move ENOTSUPP defines to include/linux/errno.h

Collect a couple of duplicated defines into a single place.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 2c61551b
......@@ -41,8 +41,6 @@
#define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
#define ETH_DATA_LEN 1500 /* Max. octets in payload */
#define ETH_FRAME_LEN PKTSIZE_ALIGN /* Max. octets in frame sans FCS */
#define ENOTSUPP 524 /* Operation is not supported */
/*
* The driver for your USB chip needs to support ep0 OUT to work with
......
......@@ -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
......
......@@ -128,4 +128,6 @@
#define ENOMEDIUM 123 /* No medium found */
#define EMEDIUMTYPE 124 /* Wrong medium type */
#define ENOTSUPP 524 /* Operation is not supported */
#endif
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册