aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia
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/char/pcmcia
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/char/pcmcia')
-rw-r--r--drivers/char/pcmcia/ipwireless/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/ipwireless/main.c b/drivers/char/pcmcia/ipwireless/main.c
index 10af1c0dc368..082146a26c87 100644
--- a/drivers/char/pcmcia/ipwireless/main.c
+++ b/drivers/char/pcmcia/ipwireless/main.c
@@ -116,7 +116,7 @@ static int ipwireless_probe(struct pcmcia_device *p_dev,
116 ipw->request_common_memory.Size = 0x1000; 116 ipw->request_common_memory.Size = 0x1000;
117 ipw->request_common_memory.AccessSpeed = 0; 117 ipw->request_common_memory.AccessSpeed = 0;
118 118
119 ret = pcmcia_request_window(&p_dev, &ipw->request_common_memory, 119 ret = pcmcia_request_window(p_dev, &ipw->request_common_memory,
120 &ipw->handle_common_memory); 120 &ipw->handle_common_memory);
121 121
122 if (ret != 0) 122 if (ret != 0)
@@ -145,7 +145,7 @@ static int ipwireless_probe(struct pcmcia_device *p_dev,
145 ipw->request_attr_memory.Size = 0; /* this used to be 0x1000 */ 145 ipw->request_attr_memory.Size = 0; /* this used to be 0x1000 */
146 ipw->request_attr_memory.AccessSpeed = 0; 146 ipw->request_attr_memory.AccessSpeed = 0;
147 147
148 ret = pcmcia_request_window(&p_dev, &ipw->request_attr_memory, 148 ret = pcmcia_request_window(p_dev, &ipw->request_attr_memory,
149 &ipw->handle_attr_memory); 149 &ipw->handle_attr_memory);
150 150
151 if (ret != 0) 151 if (ret != 0)