summaryrefslogtreecommitdiff
path: root/chip/host/spi_master.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/spi_master.c')
-rw-r--r--chip/host/spi_master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/spi_master.c b/chip/host/spi_master.c
index 1900e7b7a8..f36a9cf40b 100644
--- a/chip/host/spi_master.c
+++ b/chip/host/spi_master.c
@@ -12,7 +12,7 @@
#include "spi.h"
-test_mockable int spi_enable(int port, int enable)
+test_mockable int spi_enable(const struct spi_device_t *spi_device, int enable)
{
return EC_SUCCESS;
}