spi: make mode visible to both dm and non-dm
authorJagan Teki <jteki@openedev.com>
Mon, 14 Dec 2015 06:45:17 +0000 (12:15 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:25 +0000 (18:47 +0530)
commitf5c3c033f7ebd86e6a6e90f4a97b54d3e0f41d9a
tree79702651027f5f3abc0fcc3aee4c9c3a6e0df4d2
parente228d6deb1540b5b11e0df6c28a1a471da44e03a
spi: make mode visible to both dm and non-dm

Couldn't find the exact reason to define 'mode' for dm,
probably it is not using in non-dm drivers but it need
to visible both dm and non-dm as mode data is getting
dereferred in spi flash core ie common to both.

Cc: Simon Glass <sjg@chromium.org>
Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
include/spi.h