diff options
Diffstat (limited to 'drivers')
-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, |