summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 12:22:40 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-23 02:34:28 +0200
commit3f9c5f4cb7e00d424a56a6431e9c98b3b17851e4 (patch)
treeccb419c84db114cb2eecc9653b8283d77a3268f6 /include
parent926c5402c287f6d911f7d00f936f09ea00880527 (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')
-rw-r--r--include/pcmcia/cs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 56f94e29750..d672fdefdf2 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -319,7 +319,7 @@ typedef struct error_info_t {
#define CS_OUT_OF_RESOURCE -ENOMEM
#define CS_BAD_HANDLE -EINVAL
-#define CS_BAD_TUPLE 0x40
+#define CS_BAD_TUPLE -EINVAL
#ifdef __KERNEL__