commit | e0c419b3ae4720d547561b003404db97a5ed0bc6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 14 21:28:34 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:19 2017 -0600 |
tree | 35a32b98fdace53db7f1e90b3f06b340289b86a3 | |
parent | cb8752408bae50f7c51cc23d945c24182717bfce [diff] |
dm: ahci: Refactor to avoid static variables With driver model we need each device to have its own state. As a step towards this, restrict use of the global 'probe_ent' to just a few places in the file. This will allow us to add driver-model functions which can pass the correct data around. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>