summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-07 12:21:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-20 21:02:43 +0000
commitb6fa7a28a4bf53608e789cbbe92a80a765c2ff5c (patch)
tree63cc84b22526c9b69611e986cbfe681a2cdefeb5 /src/soc/intel/braswell
parentca62334d76b32c251677049e790b06bc619cce5e (diff)
downloadcoreboot-b6fa7a28a4bf53608e789cbbe92a80a765c2ff5c.tar.xz
src/soc/intel/braswell: Use DEVICE_NOOP
Use already defined DEVICE_NOOP instead. Change-Id: Ie6182f273cba3073c84a502c34a002dee6122c2f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29857 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/braswell')
-rw-r--r--src/soc/intel/braswell/chip.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/soc/intel/braswell/chip.c b/src/soc/intel/braswell/chip.c
index 7a63b5b715..b7f6d4dd1a 100644
--- a/src/soc/intel/braswell/chip.c
+++ b/src/soc/intel/braswell/chip.c
@@ -37,12 +37,10 @@ static struct device_operations pci_domain_ops = {
.scan_bus = pci_domain_scan_bus,
};
-static void cpu_bus_noop(struct device *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 = soc_init_cpus
};