projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: Setup disabled bridges even if buses are added
[deliverable/linux.git]
/
drivers
/
pci
/
pci-sysfs.c
diff --git
a/drivers/pci/pci-sysfs.c
b/drivers/pci/pci-sysfs.c
index e9a8706a640182de0da0257cf2d82b590245eaf5..cd8e682c04aa0636c47c2b08b821a445a1d09994 100644
(file)
--- a/
drivers/pci/pci-sysfs.c
+++ b/
drivers/pci/pci-sysfs.c
@@
-148,7
+148,7
@@
static ssize_t is_enabled_store(struct device *dev,
return -EPERM;
if (!val) {
- if (
atomic_read(&pdev->enable_cnt) != 0
)
+ if (
pci_is_enabled(pdev)
)
pci_disable_device(pdev);
else
result = -EIO;
This page took
0.026581 seconds
and
5
git commands to generate.