]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: Move spi_read_cmds_array locally
authorJagan Teki <jteki@openedev.com>
Sun, 13 Dec 2015 16:20:26 +0000 (21:50 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:25 +0000 (18:47 +0530)
commitd25dd942985700bd5ff2e619aa7cefcd919d1508
tree9192cea843f6938041e860eb60c6d67cc8ceceba
parentcdf3393814d4d811772b4414def79a05ed75b749
sf: Move spi_read_cmds_array locally

Since spi_read_cmds_array is used locally in
spi_flash_scan, so move array to locally used
function instead of defining global array.

Tested-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/spi_flash.c