diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-12-05 10:56:30 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-20 22:16:24 +0000 |
commit | 6f01f4307c993c60813ea332174ca23c2bc269e8 (patch) | |
tree | 83d1710b9f70357426e7d2a03b7381e673750e61 /src/soc/intel/common | |
parent | 096833fef4eb5616a95559bb2931dc5e8c0cf594 (diff) | |
download | coreboot-6f01f4307c993c60813ea332174ca23c2bc269e8.tar.xz |
soc/intel: Get rid of device_t
Use of device_t is deprecated.
Change-Id: Ic29891d78514db3b7eed48414a14e4ff579436c0
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30004
Reviewed-by: David Guckian
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/pcr/pcr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/pcr/pcr.c b/src/soc/intel/common/block/pcr/pcr.c index 58eb13affa..804ccff39b 100644 --- a/src/soc/intel/common/block/pcr/pcr.c +++ b/src/soc/intel/common/block/pcr/pcr.c @@ -221,7 +221,11 @@ void pcr_or8(uint8_t pid, uint16_t offset, uint8_t ordata) #if !IS_ENABLED(CONFIG_PCR_COMMON_IOSF_1_0) -static int pcr_wait_for_completion(device_t dev) +#ifdef __SIMPLE_DEVICE__ +static int pcr_wait_for_completion(pci_devfn_t dev) +#else +static int pcr_wait_for_completion(struct device *dev) +#endif { struct stopwatch sw; |