diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 05:47:29 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:54 -0400 |
commit | 635d19bea0e91df473a81391ec8f3db2d049a218 (patch) | |
tree | 8886deb8530f815711ad0c65bc35ce491f25f3f9 /include/pcmcia | |
parent | f958095ef4fc96e978c6eddcaca29100e5276c7f (diff) |
pcmcia: deprecate CS_NO_MORE_ITEMS
CS_NO_MORE_ITEMS is returned by the CIS tuple reading and parsing code if
the end of a tuple chain is reached. As at least one PCMCIA driver relies
on matching this return value, replace it with -ENOSPC which is now
uniquely used for this purpose within the in-kernel pcmcia subsystem.
CC: Russell King <rmk+kernel@arm.linux.org.uk>
CC: linux-serial@vger.kernel.org
CC: Michael Buesch <mb@bu3sch.de>
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 2dc1411b27c9..20440defd1d0 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -315,7 +315,7 @@ typedef struct error_info_t { | |||
315 | #define CS_BAD_ARGS 0x1c | 315 | #define CS_BAD_ARGS 0x1c |
316 | #define CS_CONFIGURATION_LOCKED -EACCES | 316 | #define CS_CONFIGURATION_LOCKED -EACCES |
317 | #define CS_IN_USE -EBUSY | 317 | #define CS_IN_USE -EBUSY |
318 | #define CS_NO_MORE_ITEMS 0x1f | 318 | #define CS_NO_MORE_ITEMS -ENOSPC |
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 | ||