summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_core.c
diff options
context:
space:
mode:
authorTaku Izumi <izumi.taku@jp.fujitsu.com>2008-09-05 12:09:43 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 10:53:49 -0700
commit83e9ad540b9ee23919961f9500ca254220b78d09 (patch)
treed27bdaeee5de139e3bbc10a7310f4072c533e0e2 /drivers/pci/hotplug/pciehp_core.c
parent37a84ec668ba251ae02cf2c2c664baf6b247ae1f (diff)
downloadblackbird-op-linux-83e9ad540b9ee23919961f9500ca254220b78d09.tar.gz
blackbird-op-linux-83e9ad540b9ee23919961f9500ca254220b78d09.zip
PCI: pciehp: change name tag of "hpdriver_portdrv" variable
I think an appropriate name tag of "hpdriver_portdrv" variable is "pciehp" rather than "hpdriver". Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_core.c')
-rw-r--r--drivers/pci/hotplug/pciehp_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index 4fd5355bc3b5..3c8581e597c5 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -497,10 +497,9 @@ static struct pcie_port_service_id port_pci_ids[] = { {
.driver_data = 0,
}, { /* end: all zeroes */ }
};
-static const char device_name[] = "hpdriver";
static struct pcie_port_service_driver hpdriver_portdrv = {
- .name = (char *)device_name,
+ .name = PCIE_MODULE_NAME,
.id_table = &port_pci_ids[0],
.probe = pciehp_probe,
OpenPOWER on IntegriCloud