Fix error: spi/qspi_flash.c:576:45: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d4fd9f53cd
commit
78728fc5eb
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ static int qspi_flash_command(FAR struct qspi_dev_s *dev,
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct qspi_dev_s *qspi_flash_initialize()
|
||||
FAR struct qspi_dev_s *qspi_flash_initialize(void)
|
||||
{
|
||||
FAR struct qspi_flashdev_s *priv = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue