commit | de6405e9d1e7530ea33b62e1a3921338f836a046 | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Sun Aug 03 10:47:59 2008 +0200 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Sat Aug 23 02:29:41 2008 +0200 |
tree | 4952537154518b48875bd126b3ac165ed4eb9198 | |
parent | 1168386aa7d850ead2ae135d5a7949a592c6e9a0 [diff] [blame] |
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>
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c index 8d37768..71231e8 100644 --- a/drivers/pcmcia/cistpl.c +++ b/drivers/pcmcia/cistpl.c
@@ -1397,7 +1397,7 @@ ret = 0; break; default: - ret = CS_UNSUPPORTED_FUNCTION; + ret = -EINVAL; break; } return ret;