From e8e68fd86d22fa5bd9c7bed16043e27ac86998f8 Mon Sep 17 00:00:00 2001 From: Dominik Brodowski Date: Sun, 14 Jun 2015 21:52:46 +0200 Subject: [PATCH] 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-format-patch failed