[U-Boot] [PATCH 15/29] dm: ahci: Refactor to avoid static variables
Bin Meng
bmeng.cn at gmail.com
Tue Jun 13 03:13:50 UTC 2017
On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> drivers/ata/ahci.c | 144 ++++++++++++++++++++++++++++-------------------------
> 1 file changed, 76 insertions(+), 68 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list