9
0
Fork 0

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:
Antony Pavlov 2013-01-26 11:28:08 +04:00 committed by Sascha Hauer
parent 2c93912f34
commit 773f635186
1 changed files with 2 additions and 0 deletions

View File

@ -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