summaryrefslogtreecommitdiffstats
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-06-30 08:40:04 +0300
committerMartin Roth <martinroth@google.com>2019-07-15 17:44:08 +0000
commitcac023161535253675a23f335b3fddedb395d57d (patch)
treeb94312f2ca049a4dba12370fa12fba7459f61a85 /src/include/device/device.h
parent96d8e4317835ed490a3999f173c50a2c0a36314a (diff)
downloadcoreboot-cac023161535253675a23f335b3fddedb395d57d.tar.gz
coreboot-cac023161535253675a23f335b3fddedb395d57d.tar.bz2
coreboot-cac023161535253675a23f335b3fddedb395d57d.zip
device: Remove device->ops from early stages
Change-Id: I7a361187570716df94a3fd441ae78c0f805b1dda Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33921 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 007c51f629f7..676da65263ea 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -137,8 +137,8 @@ struct device {
*/
DEVTREE_CONST struct bus *link_list;
- struct device_operations *ops;
#if !DEVTREE_EARLY
+ struct device_operations *ops;
struct chip_operations *chip_ops;
const char *name;
#if CONFIG(GENERATE_SMBIOS_TABLES)