projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a84ec
)
PCI: pciehp: change name tag of "hpdriver_portdrv" variable
author
Taku Izumi
<izumi.taku@jp.fujitsu.com>
Fri, 5 Sep 2008 03:09:43 +0000
(12:09 +0900)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:53:49 +0000
(10:53 -0700)
I think an appropriate name tag of "hpdriver_portdrv" variable
is "pciehp" rather than "hpdriver".
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_core.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp_core.c
b/drivers/pci/hotplug/pciehp_core.c
index 4fd5355bc3b55a6c957f2d0b031b2a5dd9d2d7d3..3c8581e597c508af5a9374ea805dc0988f9f7426 100644
(file)
--- 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,