提交 83e9ad54 编写于 作者: T Taku Izumi 提交者: Jesse Barnes

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: NTaku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 37a84ec6
...@@ -497,10 +497,9 @@ static struct pcie_port_service_id port_pci_ids[] = { { ...@@ -497,10 +497,9 @@ static struct pcie_port_service_id port_pci_ids[] = { {
.driver_data = 0, .driver_data = 0,
}, { /* end: all zeroes */ } }, { /* end: all zeroes */ }
}; };
static const char device_name[] = "hpdriver";
static struct pcie_port_service_driver hpdriver_portdrv = { static struct pcie_port_service_driver hpdriver_portdrv = {
.name = (char *)device_name, .name = PCIE_MODULE_NAME,
.id_table = &port_pci_ids[0], .id_table = &port_pci_ids[0],
.probe = pciehp_probe, .probe = pciehp_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册