]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit738d0a3d1153fec16d0dac6b1ee094b20038b94a
treefbe217695e1c819793ea0d0daa5d5ced152e8968
parent6f9cdc92becd7127b452ddc797a06b2464a4ecdc
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