summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_internal.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-09-29 18:06:04 +0530
committerJagan Teki <jteki@openedev.com>2015-12-11 22:12:23 +0530
commit1e90d9fd3148cebcd6f87cbbaed564b878e2b24a (patch)
treed4d622b5812f0955f9baed0de35dba2916fa5969 /drivers/mtd/spi/sf_internal.h
parent3847c0c18051a7a98982a3ae8ff1446b2b09a9ef (diff)
downloadu-boot-imx-1e90d9fd3148cebcd6f87cbbaed564b878e2b24a.zip
u-boot-imx-1e90d9fd3148cebcd6f87cbbaed564b878e2b24a.tar.gz
u-boot-imx-1e90d9fd3148cebcd6f87cbbaed564b878e2b24a.tar.bz2
sf: Move read_id code to sf_ops
read_id code is related to spi_flash stuff hence moved to sf_ops. Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/mtd/spi/sf_internal.h')
-rw-r--r--drivers/mtd/spi/sf_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h
index f3eb6f3..670429f 100644
--- a/drivers/mtd/spi/sf_internal.h
+++ b/drivers/mtd/spi/sf_internal.h
@@ -248,7 +248,6 @@ void spi_flash_mtd_unregister(void);
/**
* spi_flash_scan - scan the SPI FLASH
* @spi: the spi slave structure
- * @idcode: idcode of spi flash
* @flash: the spi flash structure
*
* The drivers can use this fuction to scan the SPI FLASH.
@@ -257,6 +256,6 @@ void spi_flash_mtd_unregister(void);
*
* Return: 0 for success, others for failure.
*/
-int spi_flash_scan(struct spi_slave *spi, u8 *idcode, struct spi_flash *flash);
+int spi_flash_scan(struct spi_slave *spi, struct spi_flash *flash);
#endif /* _SF_INTERNAL_H_ */