diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 05:10:56 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:43 -0400 |
commit | 3939c1ef1f954409d1441c09fbc08376655758fe (patch) | |
tree | a66c10593b8b47a1a63471dd6fc6f9fb214063ca /drivers/pcmcia/ds.c | |
parent | d8b0a49da4f213c637d458319432016f4ea5e12a (diff) |
pcmcia: deprecate CS_NO_CARD
It means that no card can be detected in the socket, so return -ENODEV
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r-- | drivers/pcmcia/ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index f6ff1218b3f3..aaac16aedee3 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -83,7 +83,7 @@ static const lookup_t error_table[] = { | |||
83 | { CS_BAD_SIZE, "Bad size" }, | 83 | { CS_BAD_SIZE, "Bad size" }, |
84 | { CS_BAD_TYPE, "Bad type" }, | 84 | { CS_BAD_TYPE, "Bad type" }, |
85 | { -EIO, "Input/Output error" }, | 85 | { -EIO, "Input/Output error" }, |
86 | { CS_NO_CARD, "No card present" }, | 86 | { -ENODEV, "No card present" }, |
87 | { -EINVAL, "Bad parameter" }, | 87 | { -EINVAL, "Bad parameter" }, |
88 | { CS_GENERAL_FAILURE, "General failure" }, | 88 | { CS_GENERAL_FAILURE, "General failure" }, |
89 | { CS_BAD_ARGS, "Bad arguments" }, | 89 | { CS_BAD_ARGS, "Bad arguments" }, |