mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
ichspi: Drop dev
parameter from init functions
It's never used and has no clear contract (e.g. will the pointer stay valid beyond the call?). Change-Id: I0d4e7cc731364e86eff214b9022b842a577f9ef4 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19460 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@ -655,8 +655,8 @@ enum ich_chipset {
|
||||
/* ichspi.c */
|
||||
#if CONFIG_INTERNAL == 1
|
||||
extern uint32_t ichspi_bbar;
|
||||
int ich_init_spi(struct pci_dev *dev, void *spibar, enum ich_chipset ich_generation);
|
||||
int via_init_spi(struct pci_dev *dev, uint32_t mmio_base);
|
||||
int ich_init_spi(void *spibar, enum ich_chipset ich_generation);
|
||||
int via_init_spi(uint32_t mmio_base);
|
||||
|
||||
/* amd_imc.c */
|
||||
int amd_imc_shutdown(struct pci_dev *dev);
|
||||
|
Reference in New Issue
Block a user