From 5fc64dca45b01556a9325bea0fb563d6f0d16f75 Mon Sep 17 00:00:00 2001 From: Steven Sherk Date: Tue, 29 Jan 2013 15:46:05 -0700 Subject: [PATCH] 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 Change-Id: Id7889bf02e2696220081251acdf695327267c796 Signed-off-by: Steven Sherk Reviewed-on: http://review.coreboot.org/2225 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/northbridge/amd/agesa/family15/northbridge.c | 8 ++++---- 1 file 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,