diff options
Diffstat (limited to 'arch/s390/pci/pci.c')
-rw-r--r-- | arch/s390/pci/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 281893864e1b..598f023cf8a6 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c | |||
@@ -827,6 +827,7 @@ int zpci_create_device(struct zpci_dev *zdev) | |||
827 | if (rc) | 827 | if (rc) |
828 | goto out; | 828 | goto out; |
829 | 829 | ||
830 | mutex_init(&zdev->lock); | ||
830 | if (zdev->state == ZPCI_FN_STATE_CONFIGURED) { | 831 | if (zdev->state == ZPCI_FN_STATE_CONFIGURED) { |
831 | rc = zpci_enable_device(zdev); | 832 | rc = zpci_enable_device(zdev); |
832 | if (rc) | 833 | if (rc) |