diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 11:40:19 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-23 02:29:48 +0200 |
commit | f958095ef4fc96e978c6eddcaca29100e5276c7f (patch) | |
tree | 16afbb0172e7d7851350d37784bbf1fb0493c90d /include/pcmcia/cs.h | |
parent | 943f70f1b5182c5220641ccb7bb905005162e227 (diff) | |
download | op-kernel-dev-f958095ef4fc96e978c6eddcaca29100e5276c7f.zip op-kernel-dev-f958095ef4fc96e978c6eddcaca29100e5276c7f.tar.gz |
pcmcia: deprecate CS_IN_USE
If a resource is already in use, mark it with -EBUSY. Same for cards already
asleep.
(includes a fix for a bug found by Larry Finger -- thanks!)
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 a517a58..2dc1411 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h @@ -314,7 +314,7 @@ typedef struct error_info_t { #define CS_BAD_ARG_LENGTH -ENODEV #define CS_BAD_ARGS 0x1c #define CS_CONFIGURATION_LOCKED -EACCES -#define CS_IN_USE 0x1e +#define CS_IN_USE -EBUSY #define CS_NO_MORE_ITEMS 0x1f #define CS_OUT_OF_RESOURCE -ENOMEM #define CS_BAD_HANDLE -EINVAL |