summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2016-01-21 19:43:54 -0700
committerSimon Glass <[email protected]>2016-01-21 20:42:35 -0700
commitd178a1c5b2b3d47a6380b7990a8a3f44b1cafe24 (patch)
tree9456fc37aca1f48be78aee37bd140b0efe9563ab /include/linux
parent4082fce92498a64e5e543ad53a1ed5a5c02a64d1 (diff)
spi: Correct device tree usage in spi_flash_decode_fdt()
This function currently searches the entire device tree for a node that it thinks is relevant. But the node is known and is passed in. Correct the code and enable it only with driver model, since only driver-model boards will use it. This avoids bringing in a large number of strings from fdtdec. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions