diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-06 08:57:40 +1100 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-06 22:20:53 +0100 |
commit | 2837ab2cdf267a65aacff01aaad738a4d1828606 (patch) | |
tree | 78b013f28d0ba6a4dac195cc9b4fb911d0c92ff1 /src/northbridge/amd/agesa/family14 | |
parent | 5ad6ec55f84076982c3342d4c7695aa918ac663b (diff) | |
download | coreboot-2837ab2cdf267a65aacff01aaad738a4d1828606.tar.xz |
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/agesa/family14')
-rw-r--r-- | src/northbridge/amd/agesa/family14/northbridge.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/northbridge/amd/agesa/family14/northbridge.c b/src/northbridge/amd/agesa/family14/northbridge.c index 57502e915b..8384c988b6 100644 --- a/src/northbridge/amd/agesa/family14/northbridge.c +++ b/src/northbridge/amd/agesa/family14/northbridge.c @@ -779,15 +779,7 @@ static void domain_enable_resources(device_t dev) /* Bus related code */ -static void cpu_bus_read_resources(device_t dev) -{ -} - -static void cpu_bus_set_resources(device_t dev) -{ -} - -static u32 cpu_bus_scan(device_t dev, u32 max) +static u32 cpu_bus_scan(struct device *dev, u32 max) { struct bus *cpu_bus = dev->link_list; device_t cpu; @@ -846,8 +838,8 @@ static struct device_operations pci_domain_ops = { }; static struct device_operations cpu_bus_ops = { - .read_resources = cpu_bus_read_resources, - .set_resources = cpu_bus_set_resources, + .read_resources = DEVICE_NOOP, + .set_resources = DEVICE_NOOP, .enable_resources = NULL, .init = cpu_bus_init, .scan_bus = cpu_bus_scan, |