diff options
| author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-09-04 23:09:43 -0400 |
|---|---|---|
| committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 13:53:49 -0400 |
| commit | 83e9ad540b9ee23919961f9500ca254220b78d09 (patch) | |
| tree | d27bdaeee5de139e3bbc10a7310f4072c533e0e2 | |
| parent | 37a84ec668ba251ae02cf2c2c664baf6b247ae1f (diff) | |
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>
| -rw-r--r-- | drivers/pci/hotplug/pciehp_core.c | 3 |
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[] = { { | |||
| 497 | .driver_data = 0, | 497 | .driver_data = 0, |
| 498 | }, { /* end: all zeroes */ } | 498 | }, { /* end: all zeroes */ } |
| 499 | }; | 499 | }; |
| 500 | static const char device_name[] = "hpdriver"; | ||
| 501 | 500 | ||
| 502 | static struct pcie_port_service_driver hpdriver_portdrv = { | 501 | static struct pcie_port_service_driver hpdriver_portdrv = { |
| 503 | .name = (char *)device_name, | 502 | .name = PCIE_MODULE_NAME, |
| 504 | .id_table = &port_pci_ids[0], | 503 | .id_table = &port_pci_ids[0], |
| 505 | 504 | ||
| 506 | .probe = pciehp_probe, | 505 | .probe = pciehp_probe, |
