aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-07-07 20:59:04 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:24:06 -0400
commit2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 (patch)
tree5dc7ebece2a4742399717b6745e575852dc5243c /drivers/scsi
parenta00db1ba7c33619cbd7c3153e4746d15881c0383 (diff)
[PATCH] pcmcia: remove client services version (fix)
One correction is needed. Changes are not needed for drivers/scsi/pcmcia/nsp_cs.c because it uses versioning in the compatibility part, which is never used in 2.6 kernels. The only right thing we could to that compatibility code would be to remove it throughout the file, but that would be a separate patch. Cc: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c
index 506bbb446e5e..c8755adfd917 100644
--- a/drivers/scsi/pcmcia/nsp_cs.c
+++ b/drivers/scsi/pcmcia/nsp_cs.c
@@ -2155,6 +2155,10 @@ static int __init nsp_cs_init(void)
2155 2155
2156 nsp_msg(KERN_INFO, "loading..."); 2156 nsp_msg(KERN_INFO, "loading...");
2157 pcmcia_get_card_services_info(&serv); 2157 pcmcia_get_card_services_info(&serv);
2158 if (serv.Revision != CS_RELEASE_CODE) {
2159 nsp_msg(KERN_DEBUG, "Card Services release does not match!");
2160 return -EINVAL;
2161 }
2158 register_pcmcia_driver(&dev_info, &nsp_cs_attach, &nsp_cs_detach); 2162 register_pcmcia_driver(&dev_info, &nsp_cs_attach, &nsp_cs_detach);
2159 2163
2160 nsp_dbg(NSP_DEBUG_INIT, "out"); 2164 nsp_dbg(NSP_DEBUG_INIT, "out");