linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next-0708: build failure at drivers/pci/pci-acpi.c
@ 2008-07-08 12:18 Alexander Beregalov
  2008-07-08 15:12 ` Rafael J. Wysocki
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Beregalov @ 2008-07-08 12:18 UTC (permalink / raw)
  To: Rafael J. Wysocki, jbarnes, ak, lenb, linux-acpi, linux-next

Hi Rafael

drivers/pci/pci-acpi.c: In function 'acpi_pci_sleep_wake':
drivers/pci/pci-acpi.c:311: error: implicit declaration of function
'acpi_pm_device_sleep_wake'

drivers/pci/pci-acpi.c:
309-static int acpi_pci_sleep_wake(struct pci_dev *dev, bool enable)
310-{
311:    int error = acpi_pm_device_sleep_wake(&dev->dev, enable);


include/acpi/acpi_bus.h:
381-#ifdef CONFIG_PM_SLEEP
382-int acpi_pm_device_sleep_state(struct device *, int *);
383:int acpi_pm_device_sleep_wake(struct device *, bool);
384-#else /* !CONFIG_PM_SLEEP */
385-static inline int acpi_pm_device_sleep_state(struct device *d, int *p)
386-{
387-    if (p)
388-            *p = ACPI_STATE_D0;
389-    return ACPI_STATE_D3;
390-}
391-#endif /* !CONFIG_PM_SLEEP */

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-14 21:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 12:18 next-0708: build failure at drivers/pci/pci-acpi.c Alexander Beregalov
2008-07-08 15:12 ` Rafael J. Wysocki
2008-07-08 16:29   ` Alexander Beregalov
2008-07-08 16:58     ` Rafael J. Wysocki
2008-07-08 17:40       ` Jesse Barnes
2008-07-08 20:29         ` Rafael J. Wysocki
2008-07-09 23:21           ` Jesse Barnes
2008-07-10  0:16             ` Rafael J. Wysocki
2008-07-14 21:30               ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).