diff options
Diffstat (limited to 'drivers/telephony/ixj_pcmcia.c')
-rw-r--r-- | drivers/telephony/ixj_pcmcia.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/telephony/ixj_pcmcia.c b/drivers/telephony/ixj_pcmcia.c index f6c7e6fd7ee1..a801036392cd 100644 --- a/drivers/telephony/ixj_pcmcia.c +++ b/drivers/telephony/ixj_pcmcia.c | |||
@@ -150,7 +150,8 @@ static int ixj_config(struct pcmcia_device * link) | |||
150 | /* | 150 | /* |
151 | * Register the card with the core. | 151 | * Register the card with the core. |
152 | */ | 152 | */ |
153 | j = ixj_pcmcia_probe(link->io.BasePort1, link->io.BasePort1 + 0x10); | 153 | j = ixj_pcmcia_probe(link->resource[0]->start, |
154 | link->resource[0]->start + 0x10); | ||
154 | 155 | ||
155 | info->ndev = 1; | 156 | info->ndev = 1; |
156 | ixj_get_serial(link, j); | 157 | ixj_get_serial(link, j); |