aboutsummaryrefslogtreecommitdiff
path: root/src/soc/marvell/bg4cd/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/marvell/bg4cd/spi.c')
-rw-r--r--src/soc/marvell/bg4cd/spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/marvell/bg4cd/spi.c b/src/soc/marvell/bg4cd/spi.c
index 9a999b049c..54161bcf33 100644
--- a/src/soc/marvell/bg4cd/spi.c
+++ b/src/soc/marvell/bg4cd/spi.c
@@ -15,9 +15,9 @@
#include <stddef.h>
#include <spi-generic.h>
-struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs)
+int spi_setup_slave(unsigned int bus, unsigned int cs, struct spi_slave *slave)
{
- return NULL;
+ return -1;
}
int spi_claim_bus(const struct spi_slave *slave)