aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_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/wireless/ray_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/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index f719ffcb3c74..66e2d10cd754 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -438,7 +438,7 @@ static int ray_config(struct pcmcia_device *link)
438 req.Base = 0; 438 req.Base = 0;
439 req.Size = 0x8000; 439 req.Size = 0x8000;
440 req.AccessSpeed = ray_mem_speed; 440 req.AccessSpeed = ray_mem_speed;
441 ret = pcmcia_request_window(&link, &req, &link->win); 441 ret = pcmcia_request_window(link, &req, &link->win);
442 if (ret) 442 if (ret)
443 goto failed; 443 goto failed;
444 mem.CardOffset = 0x0000; 444 mem.CardOffset = 0x0000;
@@ -454,7 +454,7 @@ static int ray_config(struct pcmcia_device *link)
454 req.Base = 0; 454 req.Base = 0;
455 req.Size = 0x4000; 455 req.Size = 0x4000;
456 req.AccessSpeed = ray_mem_speed; 456 req.AccessSpeed = ray_mem_speed;
457 ret = pcmcia_request_window(&link, &req, &local->rmem_handle); 457 ret = pcmcia_request_window(link, &req, &local->rmem_handle);
458 if (ret) 458 if (ret)
459 goto failed; 459 goto failed;
460 mem.CardOffset = 0x8000; 460 mem.CardOffset = 0x8000;
@@ -470,7 +470,7 @@ static int ray_config(struct pcmcia_device *link)
470 req.Base = 0; 470 req.Base = 0;
471 req.Size = 0x1000; 471 req.Size = 0x1000;
472 req.AccessSpeed = ray_mem_speed; 472 req.AccessSpeed = ray_mem_speed;
473 ret = pcmcia_request_window(&link, &req, &local->amem_handle); 473 ret = pcmcia_request_window(link, &req, &local->amem_handle);
474 if (ret) 474 if (ret)
475 goto failed; 475 goto failed;
476 mem.CardOffset = 0x0000; 476 mem.CardOffset = 0x0000;