Re: [PATCH 5/5] mmc: sdhci-spear: use generic card detection gpio support

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

 



Hi Russell,

On Fri, Feb 21, 2014 at 06:41:28PM +0800, Russell King wrote:
> sdhci has support for using GPIOs for card detection.  If we have a
> GPIO specified, we can use that directly, without needing our own
> interrupt handler.
> 
> Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
> ---
>  drivers/mmc/host/sdhci-spear.c | 78 +++++++++---------------------------------
>  1 file changed, 16 insertions(+), 62 deletions(-)
> 
> diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
> index 00a73b1a6444..af3338fb0762 100644
> --- a/drivers/mmc/host/sdhci-spear.c
> +++ b/drivers/mmc/host/sdhci-spear.c

To get mmc_gpio_request_cd declaration 

#include <linux/mmc/slot-gpio.h>

is needed.

Regards
Pratyush
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux