From d129d43ea7c0fae86bc252457cf5f724f944d3b5 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 May 2018 20:23:33 +0200 Subject: mb/google: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I8e549e4222ae2ed6b9c46f81c5b5253e8b227ee8 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26086 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/poppy/variants/nami/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/poppy/variants') diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index 11d406039f..544cdd5b24 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -42,7 +42,7 @@ void variant_devtree_update(void) { /* Override dev tree settings per board */ uint32_t sku_id = variant_board_sku(); - device_t root = SA_DEV_ROOT; + struct device *root = SA_DEV_ROOT; config_t *cfg = root->chip_info; switch (sku_id) { case SKU_1_VAYNE: -- cgit v1.2.3