diff options
-rw-r--r-- | drivers/dahdi/wcfxo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcfxo.c b/drivers/dahdi/wcfxo.c index f9ba45d..82e96c0 100644 --- a/drivers/dahdi/wcfxo.c +++ b/drivers/dahdi/wcfxo.c @@ -903,8 +903,8 @@ static int __devinit wcfxo_init_one(struct pci_dev *pdev, const struct pci_devic } ifaces[x] = wc; - wc->chan = &wc->_chan; memset(wc, 0, sizeof(struct wcfxo)); + wc->chan = &wc->_chan; wc->ioaddr = pci_resource_start(pdev, 0); wc->dev = pdev; wc->pos = x; |