projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'powerpc-4.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[cascardo/linux.git]
/
drivers
/
pci
/
hotplug
/
shpchp_sysfs.c
diff --git
a/drivers/pci/hotplug/shpchp_sysfs.c
b/drivers/pci/hotplug/shpchp_sysfs.c
index
1b4d73d
..
7efb56a
100644
(file)
--- a/
drivers/pci/hotplug/shpchp_sysfs.c
+++ b/
drivers/pci/hotplug/shpchp_sysfs.c
@@
-43,7
+43,7
@@
static ssize_t show_ctrl(struct device *dev, struct device_attribute *attr, char
struct resource *res;
struct pci_bus *bus;
- pdev =
container_of(dev, struct pci_dev,
dev);
+ pdev =
to_pci_dev(
dev);
bus = pdev->subordinate;
out += sprintf(buf, "Free resources: memory\n");