aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2013-02-23 16:30:22 -0600
committerJohn W. Linville2013-02-27 13:12:51 -0600
commitf45dd363bee071a62e32398a0ae4a0214b8029eb (patch)
tree65d58fd94711c1e4003ed28317302fe2425676cd
parent838f427955dcfd16858b0108ce29029da0d56a4e (diff)
downloadam43-linux-kernel-f45dd363bee071a62e32398a0ae4a0214b8029eb.tar.gz
am43-linux-kernel-f45dd363bee071a62e32398a0ae4a0214b8029eb.tar.xz
am43-linux-kernel-f45dd363bee071a62e32398a0ae4a0214b8029eb.zip
bcma: init spin lock
This spin lock was not initialized. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/bcma/driver_pci_host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c
index 221f8bb7639..25de3871968 100644
--- a/drivers/bcma/driver_pci_host.c
+++ b/drivers/bcma/driver_pci_host.c
@@ -405,6 +405,8 @@ void __devinit bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc)
405 return; 405 return;
406 } 406 }
407 407
408 spin_lock_init(&pc_host->cfgspace_lock);
409
408 pc->host_controller = pc_host; 410 pc->host_controller = pc_host;
409 pc_host->pci_controller.io_resource = &pc_host->io_resource; 411 pc_host->pci_controller.io_resource = &pc_host->io_resource;
410 pc_host->pci_controller.mem_resource = &pc_host->mem_resource; 412 pc_host->pci_controller.mem_resource = &pc_host->mem_resource;