summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Sherk <steven.sherk@se-eng.com>2013-01-29 15:46:05 -0700
committerMarc Jones <marcj303@gmail.com>2013-01-30 17:39:50 +0100
commit5fc64dca45b01556a9325bea0fb563d6f0d16f75 (patch)
treed46e1f6f9cbddd18533882fc21dd543bb2a1f965
parentf434058b042dc4023f5662cf5c07ec8d1d4f090f (diff)
downloadcoreboot-5fc64dca45b01556a9325bea0fb563d6f0d16f75.tar.xz
Rename family15 pci northbridgeops functions.
This is a port of the following commit 8a49ac7f808f76821e7d63070420cfd98f707c7c Rename fam14 pci northbridge ops functions. Clarify the northbridge ops function names. original-Change-Id: If7d89de761c1e22f9ae39d36f5cf334cc2910e1d Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Id7889bf02e2696220081251acdf695327267c796 Signed-off-by: Steven Sherk <steven.sherk@se-eng.com> Reviewed-on: http://review.coreboot.org/2225 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
-rw-r--r--src/northbridge/amd/agesa/family15/northbridge.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c
index abd53b2787..2ab0e3e62c 100644
--- a/src/northbridge/amd/agesa/family15/northbridge.c
+++ b/src/northbridge/amd/agesa/family15/northbridge.c
@@ -330,7 +330,7 @@ static void amdfam15_link_read_bases(device_t dev, u32 nodeid, u32 link)
}
-static void read_resources(device_t dev)
+static void nb_read_resources(device_t dev)
{
u32 nodeid;
struct bus *link;
@@ -427,7 +427,7 @@ static void create_vga_resource(device_t dev, unsigned nodeid)
}
-static void set_resources(device_t dev)
+static void nb_set_resources(device_t dev)
{
unsigned nodeid;
struct bus *bus;
@@ -478,8 +478,8 @@ static unsigned scan_chains(device_t dev, unsigned max)
}
static struct device_operations northbridge_operations = {
- .read_resources = read_resources,
- .set_resources = set_resources,
+ .read_resources = nb_read_resources,
+ .set_resources = nb_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = northbridge_init,
.scan_bus = scan_chains,