This reverts commit
df365a0d76352c4b675444c660cc4eb53b36d51e.
The reason is that next patch is converting ceva driver to UCLASS_AHCI
which is also fixing issue introduced by reported patch.
In mainline there is another fix for that.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
{
struct ahci_uc_priv *uc_priv;
#ifdef CONFIG_DM_SCSI
- uc_priv = dev_get_uclass_priv(dev);
+ uc_priv = dev_get_uclass_priv(dev->parent);
#else
uc_priv = probe_ent;
#endif
*/
#include <common.h>
-#include <ahci.h>
#include <dm.h>
#include <scsi.h>
.id = UCLASS_SCSI,
.name = "scsi",
.per_device_platdata_auto_alloc_size = sizeof(struct scsi_platdata),
- .per_device_auto_alloc_size = sizeof(struct ahci_uc_priv),
};