diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 06:22:40 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:34:28 -0400 |
commit | 3f9c5f4cb7e00d424a56a6431e9c98b3b17851e4 (patch) | |
tree | ccb419c84db114cb2eecc9653b8283d77a3268f6 /include/pcmcia | |
parent | 926c5402c287f6d911f7d00f936f09ea00880527 (diff) |
pcmcia: deprecate CS_BAD_TUPLE
CS_BAD_TUPLE was used to denote a bad tuple being passed to the parse
function. Therefore, replace it with -EINVAL and a verbose message.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index 56f94e297500..d672fdefdf22 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -319,7 +319,7 @@ typedef struct error_info_t { | |||
319 | #define CS_OUT_OF_RESOURCE -ENOMEM | 319 | #define CS_OUT_OF_RESOURCE -ENOMEM |
320 | #define CS_BAD_HANDLE -EINVAL | 320 | #define CS_BAD_HANDLE -EINVAL |
321 | 321 | ||
322 | #define CS_BAD_TUPLE 0x40 | 322 | #define CS_BAD_TUPLE -EINVAL |
323 | 323 | ||
324 | #ifdef __KERNEL__ | 324 | #ifdef __KERNEL__ |
325 | 325 | ||