summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/chip.c')
-rw-r--r--src/soc/intel/baytrail/chip.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/soc/intel/baytrail/chip.c b/src/soc/intel/baytrail/chip.c
index ce9eb4941a..7a5b9c22f5 100644
--- a/src/soc/intel/baytrail/chip.c
+++ b/src/soc/intel/baytrail/chip.c
@@ -40,12 +40,10 @@ static struct device_operations pci_domain_ops = {
.ops_pci_bus = pci_bus_default_ops,
};
-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 = baytrail_init_cpus,
.scan_bus = NULL,
};