summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 11:23:42 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-23 02:29:46 +0200
commit943f70f1b5182c5220641ccb7bb905005162e227 (patch)
treef3eaf1d507fc6740f0fcaecc549749a5219440cc /drivers/pcmcia/ds.c
parentffb8da20271bcfb343e299e5f630dab9ccfb6214 (diff)
downloadop-kernel-dev-943f70f1b5182c5220641ccb7bb905005162e227.zip
op-kernel-dev-943f70f1b5182c5220641ccb7bb905005162e227.tar.gz
pcmcia: deprecate CS_CONFIGURATION_LOCKED
This error code meant that trying to change the configuration after the initialization phase is forbidden. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 6a37198..7f38eb0 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -86,7 +86,7 @@ static const lookup_t error_table[] = {
{ -ENODEV, "No card present" },
{ -EINVAL, "Bad parameter" },
{ CS_BAD_ARGS, "Bad arguments" },
- { CS_CONFIGURATION_LOCKED, "Configuration locked" },
+ { -EACCES, "Configuration locked" },
{ CS_IN_USE, "Resource in use" },
{ CS_NO_MORE_ITEMS, "No more items" },
{ CS_OUT_OF_RESOURCE, "Out of resource" },
OpenPOWER on IntegriCloud