diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-25 13:11:37 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-28 16:07:35 +0000 |
commit | 696545db7bf3dd2682a1d636db5411fe0e7c0c54 (patch) | |
tree | 95f995d80b074320e903dbe19497ac9c50c16633 /src/soc/intel/quark/spi.c | |
parent | d6cd2553210d303eb8593400dfc87f7f71d7d995 (diff) |
soc/intel/quark: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I102c9b9b1066064589149388d5ebbcd6d0d81fa7
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26542
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/intel/quark/spi.c')
-rw-r--r-- | src/soc/intel/quark/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/spi.c b/src/soc/intel/quark/spi.c index 6c1aca98fa..4b011b715b 100644 --- a/src/soc/intel/quark/spi.c +++ b/src/soc/intel/quark/spi.c @@ -232,7 +232,7 @@ void spi_init(void) uint32_t bios_control; struct spi_context *context; volatile struct flash_ctrlr *ctrlr; - device_t dev; + struct device *dev; uint32_t rcba; /* Determine the base address of the SPI flash controller */ |