From 38f1d13a755548ee8afaf9b5e19d8b6709b9e55d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 17 Sep 2018 08:44:18 +0200 Subject: src/{sb/intel,mb/google/auron}: Don't use device_t Use of device_t is deprecated. Change-Id: I564319506870f75eab58cce535d4e3535a64a993 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28642 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/intel/lynxpoint/pch.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/southbridge/intel/lynxpoint/pch.h') diff --git a/src/southbridge/intel/lynxpoint/pch.h b/src/southbridge/intel/lynxpoint/pch.h index ae996e866e..489b565aef 100644 --- a/src/southbridge/intel/lynxpoint/pch.h +++ b/src/southbridge/intel/lynxpoint/pch.h @@ -93,9 +93,9 @@ #if defined(__SMM__) && !defined(__ASSEMBLER__) void intel_pch_finalize_smm(void); -void usb_ehci_sleep_prepare(device_t dev, u8 slp_typ); -void usb_ehci_disable(device_t dev); -void usb_xhci_sleep_prepare(device_t dev, u8 slp_typ); +void usb_ehci_sleep_prepare(pci_devfn_t dev, u8 slp_typ); +void usb_ehci_disable(pci_devfn_t dev); +void usb_xhci_sleep_prepare(pci_devfn_t dev, u8 slp_typ); void usb_xhci_route_all(void); #endif @@ -179,8 +179,8 @@ int rtc_failure(void); #include #include #include "chip.h" -void pch_enable(device_t dev); -void pch_disable_devfn(device_t dev); +void pch_enable(struct device *dev); +void pch_disable_devfn(struct device *dev); u32 pch_iobp_read(u32 address); void pch_iobp_write(u32 address, u32 data); void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue); -- cgit v1.2.3