summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_internal.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@openedev.com>2016-10-30 23:16:15 +0530
committerJagan Teki <jagan@openedev.com>2016-11-18 13:04:53 +0530
commiteccb6be068e3cabfce5d497c74147961c6b5ea84 (patch)
treefb9c3b40f035c1dff985d2d52062f307f60adacf /drivers/mtd/spi/sf_internal.h
parentf3bf2e5a56896b8cc9cab96986581f03244d1e44 (diff)
downloadu-boot-imx-eccb6be068e3cabfce5d497c74147961c6b5ea84.zip
u-boot-imx-eccb6be068e3cabfce5d497c74147961c6b5ea84.tar.gz
u-boot-imx-eccb6be068e3cabfce5d497c74147961c6b5ea84.tar.bz2
sf: nr_sectors -> n_sectors
Rename nr_sectors as n_sectors to sync with Linux. Cc: Bin Meng <bmeng.cn@gmail.com> Cc: York Sun <york.sun@nxp.com> Cc: Vignesh R <vigneshr@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/sf_internal.h')
-rw-r--r--drivers/mtd/spi/sf_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h
index bbc08f6..70ea4b0 100644
--- a/drivers/mtd/spi/sf_internal.h
+++ b/drivers/mtd/spi/sf_internal.h
@@ -125,7 +125,7 @@ struct spi_flash_info {
* necessarily called a "sector" by the vendor.
*/
u32 sector_size;
- u32 nr_sectors;
+ u32 n_sectors;
u16 page_size;