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>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 007c51f..676da65 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -137,8 +137,8 @@
 	 */
 	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)