commit | 11c1a87893a1005180e9609925b35cee241ec88c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 22 21:37:05 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 23 19:29:07 2014 -0600 |
tree | ec09f81c2279604c7b1655f7f352f16ce3ab0d24 | |
parent | 167efe01bc5a9de2aa4f7ce2663dbe398f9d43f6 [diff] |
dm: ns16550: Correct the probe logic for platform data The probe logic sets up the pointer to the platform data in the device tree decode method. It should be done in the probe() method, and anyway the device tree decode method can't be used when CONFIG_OF_CONTROL is not enabled. Fix these two problems. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>