From: Taku Izumi Date: Fri, 5 Sep 2008 03:09:43 +0000 (+0900) Subject: PCI: pciehp: change name tag of "hpdriver_portdrv" variable X-Git-Tag: v2.6.28-rc1~77^2~27 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=83e9ad540b9ee23919961f9500ca254220b78d09;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jesse Barnes --- diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index 4fd5355bc3b..3c8581e597c 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,