Blackfin: bfin_spi: fix build error when DEBUG is defined
[oweals/u-boot.git] / drivers / spi / altera_spi.c
index 918b2235634d52e5320af1257428da8cf605be9b..138d6f4b45c523e239d57c62638110ae6fa08e11 100644 (file)
@@ -70,6 +70,11 @@ void spi_init(void)
 {
 }
 
+void spi_set_speed(struct spi_slave *slave, uint hz)
+{
+       /* altera spi core does not support programmable speed */
+}
+
 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
                                  unsigned int max_hz, unsigned int mode)
 {