[U-Boot] [PATCH 1/5] sf: sf_dataflash: Remove inline property of function dataflash_status
Jagan Teki
jteki at openedev.com
Wed Aug 5 10:49:12 CEST 2015
On 20 July 2015 at 11:26, Wang Haikun <Haikun.Wang at freescale.com> wrote:
> 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.
Looks fines with the series, but please update commit message on all
patches and
send next version series.
thanks!
--
Jagan | openedev.
More information about the U-Boot
mailing list