mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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
|
|
@ -118,7 +118,7 @@ static caddr_t remap_window(struct map_info *map, unsigned long to)
|
|||
DEBUG(2, "Remapping window from 0x%8.8x to 0x%8.8x",
|
||||
dev->offset, mrq.CardOffset);
|
||||
mrq.Page = 0;
|
||||
ret = pcmcia_map_mem_page(win, &mrq);
|
||||
ret = pcmcia_map_mem_page(dev->p_dev, win, &mrq);
|
||||
if (ret != 0)
|
||||
return NULL;
|
||||
dev->offset = mrq.CardOffset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue