Skip to content

Commit

Permalink
[PATCH] pcmcia: remove client services version (fix)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Roskin authored and Linus Torvalds committed Jul 8, 2005
1 parent a00db1b commit 2ffe6e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/scsi/pcmcia/nsp_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2155,6 +2155,10 @@ static int __init nsp_cs_init(void)

nsp_msg(KERN_INFO, "loading...");
pcmcia_get_card_services_info(&serv);
if (serv.Revision != CS_RELEASE_CODE) {
nsp_msg(KERN_DEBUG, "Card Services release does not match!");
return -EINVAL;
}
register_pcmcia_driver(&dev_info, &nsp_cs_attach, &nsp_cs_detach);

nsp_dbg(NSP_DEBUG_INIT, "out");
Expand Down

0 comments on commit 2ffe6e2

Please sign in to comment.