dm: sata: Move ataid into struct ahci_uc_priv
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:33 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit4b62b2ff53e48ba31d341507c09951f8de353f99
treefbe217695e1c819793ea0d0daa5d5ced152e8968
parent2c9f9efb3d43568e5e5843c600e8bfc2d42ac23e
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>
drivers/ata/ahci.c
include/ahci.h