projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36f1e3
)
pci: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 24 Mar 2009 23:38:21 +0000
(16:38 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Mar 2009 23:38:21 +0000
(16:38 -0700)
Cc: jbarnes@virtuousgeek.org
Cc: linux-pci@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
drivers/pci/hotplug/cpqphp_sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/cpqphp_sysfs.c
b/drivers/pci/hotplug/cpqphp_sysfs.c
index
a13abf5
..
8450f4a
100644
(file)
--- a/
drivers/pci/hotplug/cpqphp_sysfs.c
+++ b/
drivers/pci/hotplug/cpqphp_sysfs.c
@@
-225,7
+225,8
@@
void cpqhp_shutdown_debugfs(void)
void cpqhp_create_debugfs_files(struct controller *ctrl)
{
- ctrl->dentry = debugfs_create_file(ctrl->pci_dev->dev.bus_id, S_IRUGO, root, ctrl, &debug_ops);
+ ctrl->dentry = debugfs_create_file(dev_name(&ctrl->pci_dev->dev),
+ S_IRUGO, root, ctrl, &debug_ops);
}
void cpqhp_remove_debugfs_files(struct controller *ctrl)