diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 16:49:20 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-20 09:08:28 +0000 |
commit | 1a4abb73cdeae498e1470d273fee7cc1f35912e7 (patch) | |
tree | 2a1cdaca55a4e67439ac6be3354ca2a7bc120985 /src/southbridge/amd/cimx/sb800/fan.c | |
parent | 4a027e6e95665f2c7cb9297c04d60e1b58b815b2 (diff) | |
download | coreboot-1a4abb73cdeae498e1470d273fee7cc1f35912e7.tar.xz |
sb/amd/cimx/sb800: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I2335b7e193663bb6c82bf267aaeb0b2367986f62
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26414
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/cimx/sb800/fan.c')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/fan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/cimx/sb800/fan.c b/src/southbridge/amd/cimx/sb800/fan.c index 5925330f11..977ffb6f62 100644 --- a/src/southbridge/amd/cimx/sb800/fan.c +++ b/src/southbridge/amd/cimx/sb800/fan.c @@ -14,14 +14,14 @@ */ #include <southbridge/amd/cimx/cimx_util.h> -#include <device/device.h> /* device_t */ +#include <device/device.h> #include <device/pci.h> /* device_operations */ #include "SBPLATFORM.h" #include "sb_cimx.h" #include "chip.h" /* struct southbridge_amd_cimx_sb800_config */ #include "fan.h" -void init_sb800_MANUAL_fans(device_t dev) +void init_sb800_MANUAL_fans(struct device *dev) { int i; struct southbridge_amd_cimx_sb800_config *sb_chip = @@ -54,7 +54,7 @@ void init_sb800_MANUAL_fans(device_t dev) } -void init_sb800_IMC_fans(device_t dev) +void init_sb800_IMC_fans(struct device *dev) { AMDSBCFG sb_config; |