From: Otavio Salvador Date: Sat, 12 Sep 2015 10:57:33 -0300 Subject: [U-Boot] [PATCH v2 2/5] spi_flash: Include spi_flash_cmd_write_status() prototype In-Reply-To: <1442066256-11835-1-git-send-email-otavio@ossystems.com.br> References: <1442066256-11835-1-git-send-email-otavio@ossystems.com.br> Message-ID: <1442066256-11835-2-git-send-email-otavio@ossystems.com.br> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add a prototype for spi_flash_cmd_write_status(), so that it can be used by other files. Cc: Jagan Teki Signed-off-by: Otavio Salvador --- Changes since v1: - None include/spi_flash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spi_flash.h b/include/spi_flash.h index 3b2d555..4b13926 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -232,4 +232,6 @@ static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, void spi_boot(void) __noreturn; void spi_spl_load_image(uint32_t offs, unsigned int size, void *vdst); +int spi_flash_cmd_write_status(struct spi_flash *flash, u8 ws); + #endif /* _SPI_FLASH_H_ */ -- 1.9.1