From c5910874ba418e7dc35661b98a8931cb86358f95 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 12 Apr 2011 01:34:55 -0400 Subject: [PATCH] sf: sst: setup read func The previous unification patch missed setting up the sst read func. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/sst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index 29bb88b539..38983bd203 100644 --- a/drivers/mtd/spi/sst.c +++ b/drivers/mtd/spi/sst.c @@ -255,6 +255,7 @@ spi_flash_probe_sst(struct spi_slave *spi, u8 *idcode) stm->flash.write = sst_write; stm->flash.erase = sst_erase; + stm->flash.read = spi_flash_cmd_read_fast; stm->flash.sector_size = SST_SECTOR_SIZE; stm->flash.size = stm->flash.sector_size * params->nr_sectors; -- 2.39.5