From 315b239c3578a1448796ba5901bf1023c511207c Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 19 May 2018 12:33:01 +0200 Subject: sb/amd/sb800: Get rid of device_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use of device_t has been abandoned in ramstage. Change-Id: Ie48b42cf2999df075e23dc8ba185934b4e600157 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26405 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/southbridge/amd/sb800/sb800.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/southbridge/amd/sb800/sb800.h') diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h index b36d9bfad5..a65c68a94d 100644 --- a/src/southbridge/amd/sb800/sb800.h +++ b/src/southbridge/amd/sb800/sb800.h @@ -44,7 +44,7 @@ void pm2_iowrite(u8 reg, u8 value); u8 pm2_ioread(u8 reg); #ifndef __SIMPLE_DEVICE__ -void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val); +void set_sm_enable_bits(struct device *sm_dev, u32 reg_pos, u32 mask, u32 val); #endif #define REV_SB800_A11 0x11 @@ -60,7 +60,7 @@ int s3_save_nvram_early(u32 dword, int size, int nvram_pos); int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos); #else -void sb800_enable(device_t dev); +void sb800_enable(struct device *dev); #endif #endif /* SB800_H */ -- cgit v1.2.3