diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-14 21:28:33 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:19 -0600 |
commit | 4b62b2ff53e48ba31d341507c09951f8de353f99 (patch) | |
tree | fbe217695e1c819793ea0d0daa5d5ced152e8968 /include/ahci.h | |
parent | 2c9f9efb3d43568e5e5843c600e8bfc2d42ac23e (diff) |
dm: sata: Move ataid into struct ahci_uc_priv
This array relates to the AHCI controller so should be exist out on its
own in the file. Move it into the structure. Adjust functions that need
access to this to take the structure as a parameter.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/ahci.h')
-rw-r--r-- | include/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h index 1f441d1c80..4262ab75c8 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -162,6 +162,7 @@ struct ahci_uc_priv { pci_dev_t dev; #endif struct ahci_ioports port[AHCI_MAX_PORTS]; + u16 *ataid[AHCI_MAX_PORTS]; u32 n_ports; u32 hard_port_no; u32 host_flags; |