mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page()
No logic changes, just pass struct pcmcia_device to pcmcia_map_mem_page() [[email protected]: update to 2.6.31] CC: [email protected] CC: [email protected] CC: [email protected] CC: Jiri Kosina <[email protected]> Acked-by: Karsten Keil <[email protected]> (for ISDN) Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
f5560da549
commit
868575d1e8
19 changed files with 29 additions and 25 deletions
|
|
@ -234,9 +234,12 @@ int pcmcia_get_mem_page(window_handle_t win, memreq_t *req)
|
|||
EXPORT_SYMBOL(pcmcia_get_mem_page);
|
||||
|
||||
|
||||
int pcmcia_map_mem_page(window_handle_t win, memreq_t *req)
|
||||
int pcmcia_map_mem_page(struct pcmcia_device *p_dev, window_handle_t wh,
|
||||
memreq_t *req)
|
||||
{
|
||||
struct pcmcia_socket *s;
|
||||
window_handle_t win = wh;
|
||||
|
||||
if ((win == NULL) || (win->magic != WINDOW_MAGIC))
|
||||
return -EINVAL;
|
||||
s = win->sock;
|
||||
|
|
|
|||
Loading…
Reference in a new issue