diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2017-01-12 12:20:05 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-13 08:35:12 +0100 |
commit | 90abfd3fba8dbc8d5d350081fb63681b57ceafa4 (patch) | |
tree | 94e78152c39e032205a144d36c566f95267ffcf7 /common/bootm.c | |
parent | 4f836c3c3c7ac57121775c15c945d8b82e897b3a (diff) | |
download | barebox-90abfd3fba8dbc8d5d350081fb63681b57ceafa4.tar.gz barebox-90abfd3fba8dbc8d5d350081fb63681b57ceafa4.tar.xz |
of_path: only handle no driver for device if it is on a bus
This fixes a regression in __of_find_path() for flash devices created by
the cadence-quadspi driver, which do not have 'dev->driver' set. Such
devices do not have 'dev->bus' set either, so we can use that to qualify
the existing test.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootm.c')
0 files changed, 0 insertions, 0 deletions