summaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-03 17:23:08 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-05 15:36:23 +0000
commit037581542b8e4571437ea34fb0244ad2ef43b6a3 (patch)
treef1ded4d98dd1f86cfaf424befdd63ecbcb01eaa8 /src/device/pci_device.c
parent541b567167620c96de29c3bd1aec14c6742ae2b6 (diff)
symbols: add '_' to pci_drivers and cpu_drivers symbols
In order to prepare for more unification of the linker scripts prefix pci_drivers, epci_drivers, cpu_drivers, and ecpu_drivers with an underscore. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built different boards includes ones w/ and w/o relocatable ramstage. Change-Id: I8918b38db3b754332e8d8506b424f3c6b3e06af8 Signed-off-by: Aaron Durbin <adubin@chromium.org> Reviewed-on: http://review.coreboot.org/11506 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 6332209a12..f2e4d5d2c1 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -850,7 +850,7 @@ static void set_pci_ops(struct device *dev)
* Look through the list of setup drivers and find one for
* this PCI device.
*/
- for (driver = &pci_drivers[0]; driver != &epci_drivers[0]; driver++) {
+ for (driver = &_pci_drivers[0]; driver != &_epci_drivers[0]; driver++) {
if ((driver->vendor == dev->vendor) &&
device_id_match(driver, dev->device)) {
dev->ops = (struct device_operations *)driver->ops;