[U-Boot] [PATCH 1/5] sf: sf_dataflash: Remove inline property of function dataflash_status

Haikun Wang haikun.wang at freescale.com
Thu Jul 2 11:12:48 CEST 2015


Signed-off-by: Haikun Wang <haikun.wang at freescale.com>
---
 drivers/mtd/spi/sf_dataflash.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c
index 3111f4f..f83f994 100644
--- a/drivers/mtd/spi/sf_dataflash.c
+++ b/drivers/mtd/spi/sf_dataflash.c
@@ -67,7 +67,6 @@
 #define OP_WRITE_SECURITY_REVC	0x9A
 #define OP_WRITE_SECURITY	0x9B	/* revision D */
 
-
 struct dataflash {
 	uint8_t			command[16];
 	unsigned short		page_offset;	/* offset in flash address */
@@ -76,7 +75,7 @@ struct dataflash {
 /*
  * Return the status of the DataFlash device.
  */
-static inline int dataflash_status(struct spi_slave *spi)
+static int dataflash_status(struct spi_slave *spi)
 {
 	int ret;
 	u8 status;
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list