diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-12-05 10:58:34 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-20 22:16:50 +0000 |
commit | c5ad267a372f376cee90c1b8a0d9b8a96316ddb8 (patch) | |
tree | 2db941b1317416c4333161a91c98017c9237463c /src/soc | |
parent | 6f01f4307c993c60813ea332174ca23c2bc269e8 (diff) | |
download | coreboot-c5ad267a372f376cee90c1b8a0d9b8a96316ddb8.tar.xz |
soc/amd/stoneyridge: Get rid of device_t
Use of device_t is deprecated.
Change-Id: I6d6dce29591f134f64983387c3b268019d52a602
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30044
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/stoneyridge/include/soc/southbridge.h | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/southbridge.c | 2 |
2 files changed, 2 insertions, 2 deletions
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__); } |