spi: fix compiler warning
Fixes: drivers/spi/spi.c:59: warning: no previous prototype for 'spi_new_device' Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2c93912f34
commit
773f635186
|
@ -342,6 +342,8 @@ spi_transfer_del(struct spi_transfer *t)
|
|||
|
||||
int spi_sync(struct spi_device *spi, struct spi_message *message);
|
||||
|
||||
struct spi_device *spi_new_device(struct spi_master *master,
|
||||
struct spi_board_info *chip);
|
||||
int spi_register_master(struct spi_master *master);
|
||||
|
||||
#ifdef CONFIG_SPI
|
||||
|
|
Loading…
Reference in New Issue