* [PATCH 1/1] mci_spi: specify hw_dev
@ 2012-01-05 13:33 Jean-Christophe PLAGNIOL-VILLARD
2012-01-05 18:09 ` Franck JULLIEN
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-01-05 13:33 UTC (permalink / raw)
To: barebox
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] mci_spi: specify hw_dev
2012-01-05 13:33 [PATCH 1/1] mci_spi: specify hw_dev Jean-Christophe PLAGNIOL-VILLARD
@ 2012-01-05 18:09 ` Franck JULLIEN
0 siblings, 0 replies; 2+ messages in thread
From: Franck JULLIEN @ 2012-01-05 18:09 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
2012/1/5 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
Did you get the driver to work on your platform ?
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-05 18:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-05 13:33 [PATCH 1/1] mci_spi: specify hw_dev Jean-Christophe PLAGNIOL-VILLARD
2012-01-05 18:09 ` Franck JULLIEN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox