author: Dominik Brodowski <linux@dominikbrodowski.net> 2008-08-03 10:47:59 +0200
committer: Dominik Brodowski <linux@dominikbrodowski.net> 2008-08-23 02:29:41 +0200
commit: de6405e9d1e7530ea33b62e1a3921338f836a046
parent: 1168386aa7d850ead2ae135d5a7949a592c6e9a0
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 9e6916c1fa81..6b51d27ddae8 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -305,8 +305,8 @@ typedef struct error_info_t {
#define CS_BAD_WINDOW -ENODEV
#define CS_WRITE_FAILURE -EIO
#define CS_NO_CARD 0x14
-#define CS_UNSUPPORTED_FUNCTION 0x15
-#define CS_UNSUPPORTED_MODE 0x16
+#define CS_UNSUPPORTED_FUNCTION -ENODEV
+#define CS_UNSUPPORTED_MODE -ENODEV
#define CS_BAD_SPEED -ENODEV
#define CS_BUSY -ENODEV
#define CS_GENERAL_FAILURE 0x19