From: Dominik Brodowski Date: Sun, 14 Jun 2015 19:52:46 +0000 (+0200) Subject: pcmcia: do not break rsrc_nonstatic when handling anonymous cards X-Git-Tag: omap-for-v4.2/fixes-rc1^2~158^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e68fd86d22fa5bd9c7bed16043e27ac86998f8;p=pandora-kernel.git pcmcia: do not break rsrc_nonstatic when handling anonymous cards Patch 1c6c9b1d9d25 caused a regression for rsrc_nonstatic: It relies on pccard_validate_cis() to determine whether an iomem resource can be used for PCMCIA cards. This override, however, lead invalid iomem resources to be accepted -- and lead to a fake CIS being used instead of the original CIS. To fix this issue, move the override for anonymous cards to the one place where it is needed -- when adding a PCMCIA device. Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed