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>
This commit is contained in:
Felix Singer
2020-10-14 18:15:21 +00:00
committed by Nico Huber
parent 320ad9351b
commit 09917e10cb
3 changed files with 12 additions and 17 deletions

View File

@@ -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