diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-17 08:44:18 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-10-18 16:22:03 +0000 |
commit | 38f1d13a755548ee8afaf9b5e19d8b6709b9e55d (patch) | |
tree | dd9d756059a029174459b55d29dbb0ac0539cdd0 /src/southbridge/intel/lynxpoint/pch.h | |
parent | 32ca3cd246746c2a1d584e4a63bcd43ebb7fe23f (diff) | |
download | coreboot-38f1d13a755548ee8afaf9b5e19d8b6709b9e55d.tar.xz |
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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28642
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/pch.h')
-rw-r--r-- | src/southbridge/intel/lynxpoint/pch.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <device/device.h> #include <arch/acpi.h> #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); |