diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-02 19:31:52 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:02:58 -0500 |
commit | 6838b03fc6564ea07d0cd87ea6e198d90ab1fc3e (patch) | |
tree | bf14e1ea71482dacfdad97ac9d3f895050946406 /drivers/net/pcmcia/smc91c92_cs.c | |
parent | 82f88e36004162f49a9340ffbbaebe89016e4835 (diff) |
pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
pcmcia_request_window() only needs a pointer to struct pcmcia_device, not
a pointer to a pointer.
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: 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 4ceaa45d7d81..c6ca3764ab6d 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -472,7 +472,7 @@ static int mhz_mfc_config(struct pcmcia_device *link) | |||
472 | req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE; | 472 | req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE; |
473 | req.Base = req.Size = 0; | 473 | req.Base = req.Size = 0; |
474 | req.AccessSpeed = 0; | 474 | req.AccessSpeed = 0; |
475 | i = pcmcia_request_window(&link, &req, &link->win); | 475 | i = pcmcia_request_window(link, &req, &link->win); |
476 | if (i != 0) | 476 | if (i != 0) |
477 | return -ENODEV; | 477 | return -ENODEV; |
478 | 478 | ||