u8 event;
if (type != GB_SDIO_TYPE_EVENT) {
- dev_err(&connection->dev,
+ dev_err(&connection->bundle->dev,
"unsupported unsolicited event: %u\n", type);
return -EINVAL;
}
size_t max_buffer;
int ret = 0;
- mmc = mmc_alloc_host(sizeof(*host), &connection->dev);
+ mmc = mmc_alloc_host(sizeof(*host), &connection->bundle->dev);
if (!mmc)
return -ENOMEM;
mutex_init(&host->lock);
spin_lock_init(&host->xfer);
host->mrq_workqueue = alloc_workqueue("mmc-%s", 0, 1,
- dev_name(&connection->dev));
+ dev_name(&connection->bundle->dev));
if (!host->mrq_workqueue) {
ret = -ENOMEM;
goto free_buffer;