diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 22:00:20 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2018-05-08 17:50:02 +0000 |
commit | 497737b711dfbf21e710060986a6ffc2c0525359 (patch) | |
tree | 1d4346009969a88a869108d4ee402043e6126615 /src/mainboard/sapphire | |
parent | 092863b46043e2736a482bc8731fd6a8982ffd36 (diff) | |
download | coreboot-497737b711dfbf21e710060986a6ffc2c0525359.tar.xz |
mb/sapphire: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26098
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Nicola Corna <nicola@corna.info>
Diffstat (limited to 'src/mainboard/sapphire')
-rw-r--r-- | src/mainboard/sapphire/pureplatinumh61/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/sapphire/pureplatinumh61/mainboard.c b/src/mainboard/sapphire/pureplatinumh61/mainboard.c index 02d2d85987..c673294478 100644 --- a/src/mainboard/sapphire/pureplatinumh61/mainboard.c +++ b/src/mainboard/sapphire/pureplatinumh61/mainboard.c @@ -19,13 +19,13 @@ #include <southbridge/intel/bd82x6x/pch.h> #include <southbridge/intel/common/rcba.h> -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { RCBA32(0x38c8) = 0x00002009; RCBA32(0x38c4) = 0x00802009; } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; |