diff options
author | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-08-22 02:40:34 +0000 |
---|---|---|
committer | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-08-22 02:40:34 +0000 |
commit | 743a6fd7cfc4314d74e6b55d0827d8c54027b34b (patch) | |
tree | 3b09d33320e170523db09865e8ec3581116c3043 | |
parent | f1e4f5407b57175f784c1d7b3bcea95b0787358e (diff) |
Re-added the mutex initializer for remotelock
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@741 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | pciradio.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1650,6 +1650,7 @@ static int __devinit pciradio_init_one(struct pci_dev *pdev, const struct pci_de ifaces[x] = rad; memset(rad, 0, sizeof(struct pciradio)); spin_lock_init(&rad->lock); + spin_lock_init(&rad->remotelock); rad->nchans = 4; rad->ioaddr = pci_resource_start(pdev, 0); rad->dev = pdev; |