aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/pcnet_cs.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2009-11-02 19:31:52 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-28 12:02:58 -0500
commit6838b03fc6564ea07d0cd87ea6e198d90ab1fc3e (patch)
treebf14e1ea71482dacfdad97ac9d3f895050946406 /drivers/net/pcmcia/pcnet_cs.c
parent82f88e36004162f49a9340ffbbaebe89016e4835 (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/pcnet_cs.c')
-rw-r--r--drivers/net/pcmcia/pcnet_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c
index 518b094c9f6d..d06a0ce7cb89 100644
--- a/drivers/net/pcmcia/pcnet_cs.c
+++ b/drivers/net/pcmcia/pcnet_cs.c
@@ -317,7 +317,7 @@ static hw_info_t *get_hwinfo(struct pcmcia_device *link)
317 req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE; 317 req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE;
318 req.Base = 0; req.Size = 0; 318 req.Base = 0; req.Size = 0;
319 req.AccessSpeed = 0; 319 req.AccessSpeed = 0;
320 i = pcmcia_request_window(&link, &req, &link->win); 320 i = pcmcia_request_window(link, &req, &link->win);
321 if (i != 0) 321 if (i != 0)
322 return NULL; 322 return NULL;
323 323
@@ -1491,7 +1491,7 @@ static int setup_shmem_window(struct pcmcia_device *link, int start_pg,
1491 req.Attributes |= WIN_USE_WAIT; 1491 req.Attributes |= WIN_USE_WAIT;
1492 req.Base = 0; req.Size = window_size; 1492 req.Base = 0; req.Size = window_size;
1493 req.AccessSpeed = mem_speed; 1493 req.AccessSpeed = mem_speed;
1494 ret = pcmcia_request_window(&link, &req, &link->win); 1494 ret = pcmcia_request_window(link, &req, &link->win);
1495 if (ret) 1495 if (ret)
1496 goto failed; 1496 goto failed;
1497 1497