pcmcia: avoid late calls to pccard_validate_cis
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Apr 2010 15:37:33 +0000 (17:37 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Apr 2010 15:37:33 +0000 (17:37 +0200)
commita8408c17d0038b76a83affb1b56dc18fa1e7ed86
tree07b2846455e32ffc5b1848737d1a4229a786cf04
parent41b97ab5050088cd23692d578e7294c7be26109a
pcmcia: avoid late calls to pccard_validate_cis

pccard_validate_cis() nowadays destroys the CIS cache. Therefore,
calling it after card setup should be avoided. We can't control
the deprecated PCMCIA ioctl (which is only used on ARM nowadays),
but we can avoid -- and report -- any other calls.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cistpl.c