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:
Xiang Xiao 2023-09-11 17:31:56 +08:00 committed by archer
parent d4fd9f53cd
commit 78728fc5eb

View file

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