This is really a bug in the header, not in PCMCIA
PCMCIA driver development
cardmgr.c Patch - Linux 2.2.14pre9 patch to /usr/src/linux/include/scsi/scsi.h adds spinlocks (Todd A. Wood)
Date: 1999, Nov 29
From: David Hinds <email@example.com>
The problem is that <scsi/scsi.h>, which is needed by both user and
kernel code, was changed to depend on an internal kernel header file.
I will send an email to Alan Cox about it.
to: "This is really a bug in the header, not in PCMCIA"