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-Url: https://git.stricted.de/?a=commitdiff_plain;h=83e9ad540b9ee23919961f9500ca254220b78d09;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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,