summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-06 08:57:40 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-06 22:20:53 +0100
commit2837ab2cdf267a65aacff01aaad738a4d1828606 (patch)
tree78b013f28d0ba6a4dac195cc9b4fb911d0c92ff1 /src/northbridge/amd/amdfam10
parent5ad6ec55f84076982c3342d4c7695aa918ac663b (diff)
northbridge: DEVICE_NOOP some stub function callbacks
Reduces loc and makes NOP's explicit. Change-Id: I8a117b150b8b421c7a18b48a2ac36d15679f20b0 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7344 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10')
-rw-r--r--src/northbridge/amd/amdfam10/northbridge.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index 76ffc5d00d..70d925b4f1 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -1411,11 +1411,7 @@ static void cpu_bus_init(device_t dev)
#endif
}
-static void cpu_bus_read_resources(device_t dev)
-{
-}
-
-static void cpu_bus_set_resources(device_t dev)
+static void cpu_bus_set_resources(struct device *dev)
{
struct resource *resource = find_resource(dev, 0xc0010058);
if (resource) {
@@ -1425,7 +1421,7 @@ static void cpu_bus_set_resources(device_t dev)
}
static struct device_operations cpu_bus_ops = {
- .read_resources = cpu_bus_read_resources,
+ .read_resources = DEVICE_NOOP,
.set_resources = cpu_bus_set_resources,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,