Hi, On Sun, Feb 06, 2011 at 07:02:49PM +0100, Pierre Tardy wrote: > From: Yunpeng Gao <yunpeng.gao@xxxxxxxxx> > > Follow the kernel runtime PM framework, enable runtime PM support of the > sdhci host controller with pci interface. > > Note that this patch implements runtime_pm but now actually detects > activity. > It relies on higher level (childrens) to do actual waking up > Activity detection is put in following patch > > Original version from: Yunpeng Gao <yunpeng.gao@xxxxxxxxx> > with modifications by: Pierre Tardy <pierre.tardy@xxxxxxxxx> > > Signed-off-by: Pierre Tardy <pierre.tardy@xxxxxxxxx> I had to add a: diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 22581a1..48061b3 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -18,6 +18,7 @@ #include <linux/dma-mapping.h> #include <linux/slab.h> #include <linux/device.h> +#include <linux/pm_runtime.h> #include <linux/mmc/host.h> to prevent a compile error. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm