From 9f74462790bab4d8bcb0dbe6791313bf7a3db73b Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Fri, 31 Oct 2014 08:12:34 +1100 Subject: northbridge/intel: Use DEVICE_NOOP macro over dummy symbol Change-Id: I9aeed70f72d4df260312df6e53379f1741415b65 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/7287 Tested-by: build bot (Jenkins) Reviewed-by: Bruce Griffith --- src/northbridge/intel/gm45/northbridge.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/northbridge/intel/gm45') diff --git a/src/northbridge/intel/gm45/northbridge.c b/src/northbridge/intel/gm45/northbridge.c index e93d0362f4..716ee629d6 100644 --- a/src/northbridge/intel/gm45/northbridge.c +++ b/src/northbridge/intel/gm45/northbridge.c @@ -212,14 +212,10 @@ static void cpu_bus_init(device_t dev) initialize_cpus(dev->link_list); } -static void cpu_bus_noop(device_t dev) -{ -} - static struct device_operations cpu_bus_ops = { - .read_resources = cpu_bus_noop, - .set_resources = cpu_bus_noop, - .enable_resources = cpu_bus_noop, + .read_resources = DEVICE_NOOP, + .set_resources = DEVICE_NOOP, + .enable_resources = DEVICE_NOOP, .init = cpu_bus_init, .scan_bus = 0, }; -- cgit v1.2.3