summaryrefslogtreecommitdiff
path: root/drivers/i2c/bfin-twi_i2c.c
diff options
context:
space:
mode:
authorRostislav Lisovy <lisovy@gmail.com>2014-09-16 14:38:52 +0200
committerTom Rini <trini@ti.com>2014-09-24 18:30:29 -0400
commit93d3232d9607669f33a34d3a552b24e1d727413b (patch)
treeb2f65d29e91a3e34fe6f4466e2fe47e1a317f8e9 /drivers/i2c/bfin-twi_i2c.c
parent97d5e9d149ca910e1bd20d06a13b9e9cceb0e502 (diff)
cmd_nand: Update (nand_info_t*)nand after arg_off(_size) call
The arg_off() and arg_off_size() update the 'current NAND device' variable (dev). This is then used when assigning the (nand_info_t*)nand value. Place the assignment after the arg_off(_size) calls to prevent using incorrect (nand_info_t*) nand value. Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
Diffstat (limited to 'drivers/i2c/bfin-twi_i2c.c')
0 files changed, 0 insertions, 0 deletions