[PATCH 1/1] mci_spi: specify hw_dev
Franck JULLIEN
franck.jullien at gmail.com
Thu Jan 5 13:09:22 EST 2012
2012/1/5 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> drivers/mci/mci_spi.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mci/mci_spi.c b/drivers/mci/mci_spi.c
> index 653910b..54b2a91 100644
> --- a/drivers/mci/mci_spi.c
> +++ b/drivers/mci/mci_spi.c
> @@ -387,6 +387,7 @@ static int spi_mci_probe(struct device_d *dev)
> host->mci.send_cmd = mmc_spi_request;
> host->mci.set_ios = mmc_spi_set_ios;
> host->mci.init = mmc_spi_init;
> + host->mci.hw_dev = dev;
>
> host->dev = dev;
> host->spi = spi;
> --
> 1.7.7
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
Did you get the driver to work on your platform ?
More information about the barebox
mailing list