aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600/sb600.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 14:09:33 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:00:20 +0000
commit7f55810cf0e4d415cc71d7c58094040e49e14a37 (patch)
tree60e7c8e97899310123223160b9bfc2818b715cc3 /src/southbridge/amd/sb600/sb600.h
parent7a4d41aa2d8dc94aff22803b23159321687d7153 (diff)
sb/amd/sb600: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I587b32e33af72a37be8299b9db2ce26ba825a689 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26407 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/sb600/sb600.h')
-rw-r--r--src/southbridge/amd/sb600/sb600.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb600/sb600.h b/src/southbridge/amd/sb600/sb600.h
index 94ee861536..d955a70f4e 100644
--- a/src/southbridge/amd/sb600/sb600.h
+++ b/src/southbridge/amd/sb600/sb600.h
@@ -36,8 +36,9 @@ extern void pm2_iowrite(u8 reg, u8 value);
extern u8 pm2_ioread(u8 reg);
#ifndef __SIMPLE_DEVICE__
-extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
-void sb600_enable(device_t dev);
+extern void set_sm_enable_bits(struct device *sm_dev, u32 reg_pos, u32 mask,
+ u32 val);
+void sb600_enable(struct device *dev);
#endif
void sb600_lpc_port80(void);