diff options
author | Felix Singer <felixsinger@posteo.net> | 2020-10-14 18:15:21 +0000 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-10-20 20:39:30 +0000 |
commit | 09917e10cb520b6d492e7661e48db629504b58a1 (patch) | |
tree | af02f4f0ad7ab6ed38d9d0aa1cdd466d60c3ff11 /payloads/libpayload/include | |
parent | 320ad9351bb78c09ffd15fccd1ecc3089f068ab6 (diff) |
libpayload/storage/ahci: Use pci_dev struct in ahci_initialize()
Clean up ahci_initialize() by using pci_dev struct.
Change-Id: I2d5673c631d978d8ebd0c4a90962ab9cccaf40a2
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46427
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/storage/ahci.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/include/storage/ahci.h b/payloads/libpayload/include/storage/ahci.h index 28436249f8..18a0920a61 100644 --- a/payloads/libpayload/include/storage/ahci.h +++ b/payloads/libpayload/include/storage/ahci.h @@ -26,9 +26,11 @@ * SUCH DAMAGE. */ +#include <pci/pci.h> + #ifndef _STORAGE_AHCI_H #define _STORAGE_AHCI_H -void ahci_initialize(pcidev_t dev); +void ahci_initialize(struct pci_dev *dev); #endif |