{cpu,soc}: Use DEVICE_NOOP macro over dummy symbol

Change-Id: Iaf2b2873bd1c52d7f936bd9b483e194a0872a626
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7285
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
This commit is contained in:
Edward O'Callaghan
2014-10-31 08:03:16 +11:00
parent 524625d4e0
commit 0625a8bcfb
8 changed files with 20 additions and 49 deletions

View File

@ -36,12 +36,10 @@ static struct device_operations pci_domain_ops = {
.ops_pci_bus = &pci_ops_mmconf,
};
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 = &broadwell_init_cpus,
};