Rename fam14 pci northbridge ops functions.
Clarify the northbridge ops function names.
Change-Id: If7d89de761c1e22f9ae39d36f5cf334cc2910e1d
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/2166
Tested-by: build bot (Jenkins)
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-by: Martin Roth <martin.roth@se-eng.com>
diff --git a/src/northbridge/amd/agesa/family14/northbridge.c b/src/northbridge/amd/agesa/family14/northbridge.c
index 5e8d89b..0bbf10c 100644
--- a/src/northbridge/amd/agesa/family14/northbridge.c
+++ b/src/northbridge/amd/agesa/family14/northbridge.c
@@ -330,12 +330,12 @@
}
#endif
-static void read_resources(device_t dev)
+static void nb_read_resources(device_t dev)
{
u32 nodeid;
struct bus *link;
- printk(BIOS_DEBUG, "\nFam14h - read_resources.\n");
+ printk(BIOS_DEBUG, "\nFam14h - nb_read_resources.\n");
nodeid = amdfam14_nodeid(dev);
for (link = dev->link_list; link; link = link->next) {
@@ -429,13 +429,13 @@
set_vga_enable_reg(nodeid, link->link_num);
}
-static void set_resources(device_t dev)
+static void nb_set_resources(device_t dev)
{
unsigned nodeid;
struct bus *bus;
struct resource *res;
- printk(BIOS_DEBUG, "\nFam14h - set_resources.\n");
+ printk(BIOS_DEBUG, "\nFam14h - nb_set_resources.\n");
/* Find the nodeid */
nodeid = amdfam14_nodeid(dev);
@@ -855,8 +855,8 @@
/* North Bridge Structures */
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,
.enable = 0,.ops_pci = 0,