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>
This commit is contained in:
Elyes HAOUAS 2018-09-20 08:52:27 +02:00 committed by Patrick Georgi
parent 3debb1fe87
commit 19b885943d
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ void smihandler_soc_at_finalize(void);
* This function returns a 1 or 0 depending on whether disable_busmaster * This function returns a 1 or 0 depending on whether disable_busmaster
* needs to be done for the specified device on S5 entry * needs to be done for the specified device on S5 entry
*/ */
int smihandler_soc_disable_busmaster(device_t dev); int smihandler_soc_disable_busmaster(pci_devfn_t dev);
/* SMI handlers that should be serviced in SCI mode too. */ /* SMI handlers that should be serviced in SCI mode too. */
uint32_t smihandler_soc_get_sci_mask(void); uint32_t smihandler_soc_get_sci_mask(void);

View File

@ -46,7 +46,7 @@ __weak void smihandler_soc_at_finalize(void)
return; return;
} }
__weak int smihandler_soc_disable_busmaster(device_t dev) __weak int smihandler_soc_disable_busmaster(pci_devfn_t dev)
{ {
return 1; return 1;
} }