aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 591d9627bb2a..4092a5976e62 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -74,22 +74,19 @@ typedef struct lookup_t {
74} lookup_t; 74} lookup_t;
75 75
76static const lookup_t error_table[] = { 76static const lookup_t error_table[] = {
77 { CS_SUCCESS, "Operation succeeded" }, 77 { 0, "Operation succeeded" },
78 { CS_BAD_ATTRIBUTE, "Bad attribute", },
79 { CS_BAD_BASE, "Bad base address" }, 78 { CS_BAD_BASE, "Bad base address" },
80 { CS_BAD_IRQ, "Bad IRQ" }, 79 { CS_BAD_IRQ, "Bad IRQ" },
81 { CS_BAD_OFFSET, "Bad offset" }, 80 { CS_BAD_OFFSET, "Bad offset" },
82 { CS_BAD_PAGE, "Bad page number" },
83 { CS_BAD_SIZE, "Bad size" }, 81 { CS_BAD_SIZE, "Bad size" },
84 { CS_BAD_TYPE, "Bad type" },
85 { -EIO, "Input/Output error" }, 82 { -EIO, "Input/Output error" },
86 { -ENODEV, "No card present" }, 83 { -ENODEV, "No card present" },
87 { -EINVAL, "Bad parameter" }, 84 { -EINVAL, "Bad parameter" },
88 { CS_BAD_ARGS, "Bad arguments" }, 85 { CS_BAD_ARGS, "Bad arguments" },
89 { -EACCES, "Configuration locked" }, 86 { -EACCES, "Configuration locked" },
90 { CS_IN_USE, "Resource in use" }, 87 { -EBUSY, "Resource in use" },
91 { -ENOSPC, "No more items" }, 88 { -ENOSPC, "No more items" },
92 { CS_OUT_OF_RESOURCE, "Out of resource" }, 89 { -ENOMEM, "Out of resource" },
93 { CS_BAD_TUPLE, "Bad CIS tuple" } 90 { CS_BAD_TUPLE, "Bad CIS tuple" }
94}; 91};
95 92