diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 04:47:59 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:41 -0400 |
commit | de6405e9d1e7530ea33b62e1a3921338f836a046 (patch) | |
tree | 4952537154518b48875bd126b3ac165ed4eb9198 /drivers/pcmcia/cistpl.c | |
parent | 1168386aa7d850ead2ae135d5a7949a592c6e9a0 (diff) |
pcmcia: deprecate CS_UNSUPPORTED_*
CS_UNSUPPORTED_MODE and CS_UNSUPPORTED_FUNCTION were mostly used to denote
trying to use PCMCIA functions on CardBus cards.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cistpl.c')
-rw-r--r-- | drivers/pcmcia/cistpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c index 8d37768d0b46..71231e8c7edd 100644 --- a/drivers/pcmcia/cistpl.c +++ b/drivers/pcmcia/cistpl.c | |||
@@ -1397,7 +1397,7 @@ int pccard_parse_tuple(tuple_t *tuple, cisparse_t *parse) | |||
1397 | ret = 0; | 1397 | ret = 0; |
1398 | break; | 1398 | break; |
1399 | default: | 1399 | default: |
1400 | ret = CS_UNSUPPORTED_FUNCTION; | 1400 | ret = -EINVAL; |
1401 | break; | 1401 | break; |
1402 | } | 1402 | } |
1403 | return ret; | 1403 | return ret; |