]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/pciehp_core.c
PCI: pciehp: change name tag of "hpdriver_portdrv" variable
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / pciehp_core.c
index 4fd5355bc3b55a6c957f2d0b031b2a5dd9d2d7d3..3c8581e597c508af5a9374ea805dc0988f9f7426 100644 (file)
@@ -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,