diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-07-14 02:33:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-07-14 02:33:07 -0700 |
| commit | 1c113a7e0f005c19df1852ae0c9a80ca6a33d38f (patch) | |
| tree | e4648377b8150b02b70982e4ab748b48be6c767f /drivers/pci/hotplug.c | |
| parent | 3444cee81a6fc44ec402d3a3d5c91dc0cc4859c2 (diff) | |
[PATCH] PCI: remove usages of pci slot_name from the pci core code.
Diffstat (limited to 'drivers/pci/hotplug.c')
| -rw-r--r-- | drivers/pci/hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c index 168ae7ef4dc4..872989de3807 100644 --- a/drivers/pci/hotplug.c +++ b/drivers/pci/hotplug.c @@ -57,7 +57,7 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp, envp[i++] = scratch; length += snprintf (scratch, buffer_size - length, "PCI_SLOT_NAME=%s", - pdev->slot_name); + pci_name(pdev)); if ((buffer_size - length <= 0) || (i >= num_envp)) return -ENOMEM; |
