From c5ad267a372f376cee90c1b8a0d9b8a96316ddb8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 5 Dec 2018 10:58:34 +0100 Subject: soc/amd/stoneyridge: Get rid of device_t Use of device_t is deprecated. Change-Id: I6d6dce29591f134f64983387c3b268019d52a602 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/30044 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/soc/amd/stoneyridge/include/soc/southbridge.h | 2 +- src/soc/amd/stoneyridge/southbridge.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h index 88aa7db874..7070d970b1 100644 --- a/src/soc/amd/stoneyridge/include/soc/southbridge.h +++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h @@ -434,7 +434,7 @@ void sb_enable_rom(void); void configure_stoneyridge_i2c(void); void sb_clk_output_48Mhz(void); void sb_disable_4dw_burst(void); -void sb_enable(device_t dev); +void sb_enable(struct device *dev); void southbridge_final(void *chip_info); void southbridge_init(void *chip_info); void sb_lpc_port80(void); diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c index 5aea825b0c..f56123c99b 100644 --- a/src/soc/amd/stoneyridge/southbridge.c +++ b/src/soc/amd/stoneyridge/southbridge.c @@ -700,7 +700,7 @@ void bootblock_fch_init(void) sb_print_pmxc0_status(); } -void sb_enable(device_t dev) +void sb_enable(struct device *dev) { printk(BIOS_DEBUG, "%s\n", __func__); } -- cgit v1.2.3