diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 16:30:36 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-01 16:26:09 +0000 |
commit | 040aff27458ff2e41052c14cf4a981641313a3f6 (patch) | |
tree | a29d50b5d00052e59904357e8751e14876db6b8c /src/soc/intel/broadwell/sata.c | |
parent | 4f41336fd8cb99cb871dcff12c82faf06e6ac967 (diff) |
soc/intel/broadwell: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I043f4169ad080f9a449c8780500332c9512b62ff
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26583
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/sata.c')
-rw-r--r-- | src/soc/intel/broadwell/sata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/sata.c b/src/soc/intel/broadwell/sata.c index 7b9bd0cd07..3dadcccaac 100644 --- a/src/soc/intel/broadwell/sata.c +++ b/src/soc/intel/broadwell/sata.c @@ -267,7 +267,7 @@ static void sata_init(struct device *dev) * Set SATA controller mode early so the resource allocator can * properly assign IO/Memory resources for the controller. */ -static void sata_enable(device_t dev) +static void sata_enable(struct device *dev) { /* Get the chip configuration */ config_t *config = dev->chip_info; |