diff options
Diffstat (limited to 'drivers/mtd/spi/sst.c')
| -rw-r--r-- | drivers/mtd/spi/sst.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index 4dc2db2ba..6691c1de8 100644 --- a/drivers/mtd/spi/sst.c +++ b/drivers/mtd/spi/sst.c @@ -96,7 +96,7 @@ static const struct sst_spi_flash_params sst_spi_flash_table[] = {  static int  sst_enable_writing(struct spi_flash *flash)  { -	int ret = spi_flash_cmd(flash->spi, CMD_SST_WREN, NULL, 0); +	int ret = spi_flash_cmd_write_enable(flash);  	if (ret)  		debug("SF: Enabling Write failed\n");  	return ret; |