The patch titled ssb: add 'ssb_pcihost_set_power_state' function has been added to the -mm tree. Its filename is ssb-add-ssb_pcihost_set_power_state-function.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ssb: add 'ssb_pcihost_set_power_state' function From: Miguel Boton <mboton@xxxxxxxxx> Add the 'ssb_pcihost_set_power_state' function. This function allows us to set the power state of a PCI device (for example b44 ethernet device). Signed-off-by: Miguel Boton <mboton@xxxxxxxxx> Acked-by: Michael Buesch <mb@xxxxxxxxx> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/ssb/ssb.h | 7 +++++++ 1 file changed, 7 insertions(+) diff -puN include/linux/ssb/ssb.h~ssb-add-ssb_pcihost_set_power_state-function include/linux/ssb/ssb.h --- a/include/linux/ssb/ssb.h~ssb-add-ssb_pcihost_set_power_state-function +++ a/include/linux/ssb/ssb.h @@ -349,6 +349,13 @@ static inline void ssb_pcihost_unregiste { pci_unregister_driver(driver); } + +static inline +void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) +{ + if (sdev->bus->bustype == SSB_BUSTYPE_PCI) + pci_set_power_state(sdev->bus->host_pci, state); +} #endif /* CONFIG_SSB_PCIHOST */ _ Patches currently in -mm which might be from mboton@xxxxxxxxx are acpi-remove-duplicated-warning-message.patch git-netdev-all.patch ssb-add-ssb_pcihost_set_power_state-function.patch b44-power-down-phy-when-interface-down.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html