]> Git Repo - J-u-boot.git/commit
dm: ahci: Refactor to avoid static variables
authorSimon Glass <[email protected]>
Thu, 15 Jun 2017 03:28:34 +0000 (21:28 -0600)
committerSimon Glass <[email protected]>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit225b1da7bfaf3c6a6812adb3ed1a85ada76c85f4
tree35a32b98fdace53db7f1e90b3f06b340289b86a3
parent4b62b2ff53e48ba31d341507c09951f8de353f99
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/ata/ahci.c
This page took 0.035642 seconds and 4 git commands to generate.