summaryrefslogtreecommitdiff
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 12:56:13 +0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-23 04:29:42 +0400
commitd8b0a49da4f213c637d458319432016f4ea5e12a (patch)
tree488b1c1e8796f11807aaf7c18f9c5332c01a8e1e /include/pcmcia
parentde6405e9d1e7530ea33b62e1a3921338f836a046 (diff)
downloadlinux-d8b0a49da4f213c637d458319432016f4ea5e12a.tar.xz
pcmcia: deprecate CS_BAD_VCC and CS_BAD_VPP
They were either used to report that changing voltage is not allowed, or that changing voltage failed. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/cs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 6b51d27ddae8..5d1ed8ec0376 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -300,8 +300,8 @@ typedef struct error_info_t {
#define CS_BAD_SIZE 0x0a
#define CS_BAD_SOCKET -EINVAL
#define CS_BAD_TYPE 0x0d
-#define CS_BAD_VCC 0x0e
-#define CS_BAD_VPP 0x0f
+#define CS_BAD_VCC -EINVAL
+#define CS_BAD_VPP -EINVAL
#define CS_BAD_WINDOW -ENODEV
#define CS_WRITE_FAILURE -EIO
#define CS_NO_CARD 0x14