aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 05:18:00 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:29:45 -0400
commitffb8da20271bcfb343e299e5f630dab9ccfb6214 (patch)
tree52a228473ac4cb74726c63c4d3f2fbce8da831ff /include/pcmcia
parent8567142e87322141f9344d1ab632ccf5190cd0d3 (diff)
pcmcia: deprecate CS_BAD_HANDLE
CS_BAD_HANDLE means that something went badly wrong: no parameter was passed, or the paramater passed wasn't the correct one. Therefore, replace it with -EINVAL. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-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 bec295cb94f..dc5c1eb8ec7 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -317,7 +317,7 @@ typedef struct error_info_t {
317#define CS_IN_USE 0x1e 317#define CS_IN_USE 0x1e
318#define CS_NO_MORE_ITEMS 0x1f 318#define CS_NO_MORE_ITEMS 0x1f
319#define CS_OUT_OF_RESOURCE -ENOMEM 319#define CS_OUT_OF_RESOURCE -ENOMEM
320#define CS_BAD_HANDLE 0x21 320#define CS_BAD_HANDLE -EINVAL
321 321
322#define CS_BAD_TUPLE 0x40 322#define CS_BAD_TUPLE 0x40
323 323