[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361289343.16206.35.camel@anish-Inspiron-N5050>
Date: Tue, 19 Feb 2013 21:25:43 +0530
From: anish kumar <anish198519851985@...il.com>
To: chetan cr123 <chetancr123@...il.com>
Cc: linux-fsdevel@...r.kernel.org,
Greg KH <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: Fwd: mmc card probe not getting called
On Tue, 2013-02-19 at 12:16 +0530, chetan cr123 wrote:
> HI All,
>
> I am working on Sd Card/Block driver
>
> I am registering it as both
>
> 1. register_blkdev()------------- BLOCK Regsiter
> 2. mmc_register_driver ------ MMC regsiter
>
> and filling the mmc_driver structure.
>
> I am not able to see the probe of MMC, But i see the return value of
> mmc_register function returning success.
I am not an expert on MMC driver but AFAIK it is no different in terms
of following device/driver model.
Probe of a function is only called when device name matches with driver
name and when it happens driver calls your probe.
So in your case even though you have registered the driver, looks like
you are missing the device registration part.Do that and see the magic.
If this is SOC then that is done in the board file i.e.
arch/arm/plat-xyz/....
>
> Kindly let me know how i make the probe of mmc getting called
>
> Thanks
>
>
> Chetan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists