Re: [PATCH 5/7] mci: parent fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10:46 Mon 15 Aug     , Sascha Hauer wrote:
> Make the mci host a child of the hardware device and the disk
> a child of the mci host.
> 
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> ---
>  drivers/mci/atmel_mci.c  |    1 +
>  drivers/mci/imx-esdhc.c  |    1 +
>  drivers/mci/imx.c        |    1 +
>  drivers/mci/mci-core.c   |    5 ++++-
>  drivers/mci/omap_hsmmc.c |    1 +
>  5 files changed, 8 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c
> index b4489dd..47e3924 100644
> --- a/drivers/mci/atmel_mci.c
> +++ b/drivers/mci/atmel_mci.c
> @@ -449,6 +449,7 @@ static int mci_probe(struct device_d *hw_dev)
>  	host->mci.send_cmd = mci_request;
>  	host->mci.set_ios = mci_set_ios;
>  	host->mci.init = mci_reset;
> +	host->mci.hw_dev = dev;
it's hw_dev here

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux