pcmcia: split up modify_configuration() into two fixup functions