aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pcmcia_resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
-rw-r--r--drivers/pcmcia/pcmcia_resource.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c
index 820a6e5868e8..b60952a3df93 100644
--- a/drivers/pcmcia/pcmcia_resource.c
+++ b/drivers/pcmcia/pcmcia_resource.c
@@ -234,9 +234,12 @@ int pcmcia_get_mem_page(window_handle_t win, memreq_t *req)
234EXPORT_SYMBOL(pcmcia_get_mem_page); 234EXPORT_SYMBOL(pcmcia_get_mem_page);
235 235
236 236
237int pcmcia_map_mem_page(window_handle_t win, memreq_t *req) 237int pcmcia_map_mem_page(struct pcmcia_device *p_dev, window_handle_t wh,
238 memreq_t *req)
238{ 239{
239 struct pcmcia_socket *s; 240 struct pcmcia_socket *s;
241 window_handle_t win = wh;
242
240 if ((win == NULL) || (win->magic != WINDOW_MAGIC)) 243 if ((win == NULL) || (win->magic != WINDOW_MAGIC))
241 return -EINVAL; 244 return -EINVAL;
242 s = win->sock; 245 s = win->sock;