mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
pcmcia: do not use io_req_t after call to pcmcia_request_io()
After pcmcia_request_io(), do not make use of the values stored in io_req_t, but instead use those found in struct pcmcia_device->resource[]. CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] Acked-by: Marcel Holtmann <[email protected]> (for drivers/bluetooth/) Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
2ce4905e4d
commit
9a017a9103
51 changed files with 223 additions and 240 deletions
|
|
@ -150,7 +150,8 @@ static int ixj_config(struct pcmcia_device * link)
|
|||
/*
|
||||
* Register the card with the core.
|
||||
*/
|
||||
j = ixj_pcmcia_probe(link->io.BasePort1, link->io.BasePort1 + 0x10);
|
||||
j = ixj_pcmcia_probe(link->resource[0]->start,
|
||||
link->resource[0]->start + 0x10);
|
||||
|
||||
info->ndev = 1;
|
||||
ixj_get_serial(link, j);
|
||||
|
|
|
|||
Loading…
Reference in a new issue