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

Wang Haikun Haikun.Wang at freescale.com
Mon Jul 20 07:56:39 CEST 2015


On 7/2/2015 5:17 PM, Haikun Wang wrote:
> 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;
>
Update my email address.


More information about the U-Boot mailing list