Hi Adrian,

On Mon, Oct 17 2011, Adrian Hunter wrote:
> Only allow runtime PM for devices that specifically indicate
> that they support it.
>
> Signed-off-by: Adrian Hunter <[email protected]>
>  drivers/mmc/host/sdhci-pci.c |   17 +++++++++++++----
>  1 files changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index f49b184..c22d810 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -47,6 +47,7 @@ struct sdhci_pci_slot;
>  
>  struct sdhci_pci_fixes {
>       unsigned int            quirks;
> +     unsigned int            allow_runtime_pm:1;

Thanks -- any objection to using a bool type instead for allow_runtime_pm?

-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to