diff options
author | Magnus Damm <damm@opensource.se> | 2006-12-13 05:46:43 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:02:13 -0500 |
commit | 868575d1e87ff2091800aea816972ddb46de60d5 (patch) | |
tree | 95c50968098815dfe066e960922c4be3b003b27f /drivers/net/pcmcia/smc91c92_cs.c | |
parent | f5560da549ea2e32dd41e36548c0e7dee3d4aabb (diff) |
pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page()
No logic changes, just pass struct pcmcia_device to pcmcia_map_mem_page()
[linux@dominikbrodowski.net: update to 2.6.31]
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-scsi@vger.kernel.org
CC: Jiri Kosina <jkosina@suse.cz>
Acked-by: Karsten Keil <keil@b1-systems.de> (for ISDN)
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 580ec444a654..4ceaa45d7d81 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -480,7 +480,7 @@ static int mhz_mfc_config(struct pcmcia_device *link) | |||
480 | mem.CardOffset = mem.Page = 0; | 480 | mem.CardOffset = mem.Page = 0; |
481 | if (smc->manfid == MANFID_MOTOROLA) | 481 | if (smc->manfid == MANFID_MOTOROLA) |
482 | mem.CardOffset = link->conf.ConfigBase; | 482 | mem.CardOffset = link->conf.ConfigBase; |
483 | i = pcmcia_map_mem_page(link->win, &mem); | 483 | i = pcmcia_map_mem_page(link, link->win, &mem); |
484 | 484 | ||
485 | if ((i == 0) | 485 | if ((i == 0) |
486 | && (smc->manfid == MANFID_MEGAHERTZ) | 486 | && (smc->manfid == MANFID_MEGAHERTZ) |