mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
dm: ahci: Rename struct ahci_probe_ent
This is not a very useful name since once it is probed it still hangs around. With driver model we will use uclass data for this, so rename the struct. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@ -144,8 +144,19 @@ struct ahci_ioports {
|
||||
u32 rx_fis;
|
||||
};
|
||||
|
||||
struct ahci_probe_ent {
|
||||
/**
|
||||
* struct ahci_uc_priv - information about an AHCI controller
|
||||
*
|
||||
* When driver model is used, this is accessible using dev_get_uclass_priv(dev)
|
||||
* where dev is the controller (although at present it sometimes stands alone).
|
||||
*/
|
||||
struct ahci_uc_priv {
|
||||
#if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
|
||||
/*
|
||||
* TODO(sjg@chromium.org): Drop this once this structure is only used
|
||||
* in a driver-model context (i.e. attached to a device with
|
||||
* dev_get_uclass_priv()
|
||||
*/
|
||||
struct udevice *dev;
|
||||
#else
|
||||
pci_dev_t dev;
|
||||
|
Reference in New Issue
Block a user