summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/smm
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-20 08:52:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-09-26 15:16:12 +0000
commit19b885943d171ffe7a68a6e99a38eff26aeac0de (patch)
treee06565e63885415abc5161fd145d805fdb6506b8 /src/soc/intel/common/block/smm
parent3debb1fe87383f34552a6796ed6cb4d54470ba52 (diff)
downloadcoreboot-19b885943d171ffe7a68a6e99a38eff26aeac0de.tar.xz
soc/intel/common/block: Don't use device_t
Use of device_t is deprecated. Change-Id: Id82059898844fbe20665250062b67652d6cc1f9e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28694 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'src/soc/intel/common/block/smm')
-rw-r--r--src/soc/intel/common/block/smm/smihandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/smm/smihandler.c b/src/soc/intel/common/block/smm/smihandler.c
index c6f9692d81..e4c13dd4b9 100644
--- a/src/soc/intel/common/block/smm/smihandler.c
+++ b/src/soc/intel/common/block/smm/smihandler.c
@@ -46,7 +46,7 @@ __weak void smihandler_soc_at_finalize(void)
return;
}
-__weak int smihandler_soc_disable_busmaster(device_t dev)
+__weak int smihandler_soc_disable_busmaster(pci_devfn_t dev)
{
return 1;
}