2010/11/3 Alan Cox <[email protected]>:

>> Doesn't it require a struct device* to be used?
>
> Yes but the sdhci port can be a device even if its wired via a controller
> which is its parent. The device layer is designed that way

Yeah wait I got it all backwards, of course I should be able to hook
some dev_pm_ops to the struct device * in MMC's host->class_dev
that mmc_add_host() creates, can't be too hard.

I'll give it a spin, this will probably hook nicely into runtime PM.

Yours,
Linus Walleij
--
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