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:
@@ -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
|
||||
|
Reference in New Issue
Block a user