}
if (!dev) {
- pr_err("No DMA device found that supports %x type\n",
- transfer_type);
+ pr_debug("No DMA device found that supports %x type\n",
+ transfer_type);
return -EPROTONOSUPPORT;
}
.id = UCLASS_DMA,
.name = "dma",
.flags = DM_UC_FLAG_SEQ_ALIAS,
- .per_device_auto_alloc_size = sizeof(struct dma_dev_priv),
+ .per_device_auto = sizeof(struct dma_dev_priv),
};