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/ibmtr_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/ibmtr_cs.c')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index 6fc89eba9c8f..14fe5fa35d86 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -246,7 +246,7 @@ static int __devinit ibmtr_config(struct pcmcia_device *link) | |||
246 | req.Base = 0; | 246 | req.Base = 0; |
247 | req.Size = 0x2000; | 247 | req.Size = 0x2000; |
248 | req.AccessSpeed = 250; | 248 | req.AccessSpeed = 250; |
249 | ret = pcmcia_request_window(&link, &req, &link->win); | 249 | ret = pcmcia_request_window(link, &req, &link->win); |
250 | if (ret) | 250 | if (ret) |
251 | goto failed; | 251 | goto failed; |
252 | 252 | ||
@@ -263,7 +263,7 @@ static int __devinit ibmtr_config(struct pcmcia_device *link) | |||
263 | req.Base = 0; | 263 | req.Base = 0; |
264 | req.Size = sramsize * 1024; | 264 | req.Size = sramsize * 1024; |
265 | req.AccessSpeed = 250; | 265 | req.AccessSpeed = 250; |
266 | ret = pcmcia_request_window(&link, &req, &info->sram_win_handle); | 266 | ret = pcmcia_request_window(link, &req, &info->sram_win_handle); |
267 | if (ret) | 267 | if (ret) |
268 | goto failed; | 268 | goto failed; |
269 | 269 | ||