pcmcia: fix matching rules for pseudo-multi-function cards
authorAlexander Kurz <linux@kbdbabel.org>
Sun, 25 Apr 2010 09:44:35 +0000 (13:44 +0400)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 26 Apr 2010 18:09:07 +0000 (20:09 +0200)
commit83bf6f11e82eba8533f8dbd241b2c2825e42ae5d
tree99e30a2ea81ae4dd5bad9120e0698014f51ca0a4
parent04de0816173c86948b75da93a6344a0a02bbec4d
pcmcia: fix matching rules for pseudo-multi-function cards

Prevent PCMCIA_DEV_ID_MATCH_FUNC_ID from grabbing PFC-cards:
I changed the code, so that the first matching struct
pcmcia_device_id _PFC_ entry will mark the card has_pfc,
preventing PCMCIA_DEV_ID_MATCH_FUNC_ID to match.

[linux-pcmcia@lists.infradead.org: re-order commit message]
Signed-off-by: Alexander Kurz <linux@kbdbabel.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ds.c