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>
This commit is contained in:
Elyes HAOUAS 2018-05-04 22:00:20 +02:00 committed by Patrick Rudolph
parent 092863b460
commit 497737b711
1 changed files with 2 additions and 2 deletions

View File

@ -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;