aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/sb800.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 12:33:01 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:01:33 +0000
commit315b239c3578a1448796ba5901bf1023c511207c (patch)
tree268562b3f52fc085b3c77c7cb74e903ffd927f55 /src/southbridge/amd/sb800/sb800.h
parentf29a6898ec10459e49c9380b9b342e6ee633a6ce (diff)
sb/amd/sb800: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ie48b42cf2999df075e23dc8ba185934b4e600157 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26405 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/sb800/sb800.h')
-rw-r--r--src/southbridge/amd/sb800/sb800.h4
1 files changed, 2 insertions, 2 deletions
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 */