diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 22:09:07 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 03:03:59 +0000 |
commit | f65f297eff400fec8b95ebdf807bfaed69863086 (patch) | |
tree | e444d333423ba03ced6061e417a19fc59c4705cd /src/mainboard/kontron/kt690/mainboard.c | |
parent | 070b2d97e537e3eca356559d6938dc0fc502cbb3 (diff) | |
download | coreboot-f65f297eff400fec8b95ebdf807bfaed69863086.tar.xz |
mb/kontron: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Iac341f592acd777fe9ba22cfbca19d4cbdb4916e
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26103
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/kontron/kt690/mainboard.c')
-rw-r--r-- | src/mainboard/kontron/kt690/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/kontron/kt690/mainboard.c b/src/mainboard/kontron/kt690/mainboard.c index f01e5217f0..de6c0bb5c9 100644 --- a/src/mainboard/kontron/kt690/mainboard.c +++ b/src/mainboard/kontron/kt690/mainboard.c @@ -115,7 +115,7 @@ static void set_thermal_config(void) { u8 byte; u16 word; - device_t sm_dev; + struct device *sm_dev; /* set ADT 7461 */ ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */ @@ -176,7 +176,7 @@ static void set_thermal_config(void) * enable the dedicated function in dbm690t board. * This function called early than rs690_enable. *************************************************/ -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard KT690 Enable. dev=0x%p\n", dev); |