9
0
Fork 0

Fix return value of SPI_LOCK if CONFIG_SPI_OWNBUS is set

There seems to be a contradiction between 'Returned Value: None' and the
function return type 'int'...
This commit is contained in:
Stefan Richter 2011-06-22 23:36:49 +02:00
parent d793f3ae03
commit 2517b63a39
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@
#ifndef CONFIG_SPI_OWNBUS
# define SPI_LOCK(d,l) (d)->ops->lock(d,l)
#else
# define SPI_LOCK(d,l)
# define SPI_LOCK(d,l) 0
#endif
/****************************************************************************