Commit 56f10573 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: sdio: tie into gb core properly

parent 426f29d6
...@@ -61,7 +61,7 @@ int gb_sdio_probe(struct greybus_device *gdev, ...@@ -61,7 +61,7 @@ int gb_sdio_probe(struct greybus_device *gdev,
mmc->ops = &gb_sd_ops; mmc->ops = &gb_sd_ops;
// FIXME - set up size limits we can handle. // FIXME - set up size limits we can handle.
greybus_set_drvdata(gdev, host); gdev->gb_sdio_host = host;
return 0; return 0;
} }
...@@ -70,7 +70,7 @@ void gb_sdio_disconnect(struct greybus_device *gdev) ...@@ -70,7 +70,7 @@ void gb_sdio_disconnect(struct greybus_device *gdev)
struct mmc_host *mmc; struct mmc_host *mmc;
struct gb_sdio_host *host; struct gb_sdio_host *host;
host = greybus_get_drvdata(gdev); host = gdev->gb_sdio_host;
mmc = host->mmc; mmc = host->mmc;
mmc_remove_host(mmc); mmc_remove_host(mmc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment