diff options
author | 2008-08-03 11:18:00 +0200 | |
---|---|---|
committer | 2008-08-23 02:29:45 +0200 | |
commit | ffb8da20271bcfb343e299e5f630dab9ccfb6214 (patch) | |
tree | 52a228473ac4cb74726c63c4d3f2fbce8da831ff /include/pcmcia/cs.h | |
parent | pcmcia: deprecate CS_GENERAL_FAILURE (diff) | |
download | linux-dev-ffb8da20271bcfb343e299e5f630dab9ccfb6214.tar.xz linux-dev-ffb8da20271bcfb343e299e5f630dab9ccfb6214.zip |
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/cs.h')
-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 bec295cb94f6..dc5c1eb8ec79 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h @@ -317,7 +317,7 @@ typedef struct error_info_t { #define CS_IN_USE 0x1e #define CS_NO_MORE_ITEMS 0x1f #define CS_OUT_OF_RESOURCE -ENOMEM -#define CS_BAD_HANDLE 0x21 +#define CS_BAD_HANDLE -EINVAL #define CS_BAD_TUPLE 0x40 |