[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTin+OMfm2Z6idFck9gcP+bmH6pJNso7iMiUvYtJ5@mail.gmail.com>
Date: Sun, 16 Jan 2011 15:29:55 +0300
From: Alexander Beregalov <a.beregalov@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Len Brown <len.brown@...el.com>,
"Rafael J. Wysocki" <rjw@...k.pl>
Subject: build error at include/linux/pci-acpi.h:39
Hi
kernel is v2.6.37-7733-g1b59be2
In file included from drivers/pci/pcie/aer/aerdrv.c:21:
include/linux/pci-acpi.h:39: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'acpi_find_root_bridge_handle'
CONFIG_ACPI is not set
Perhaps .config is meaningless, it was generated by randconfig.
include/linux/pci-acpi.h:
11 #include <linux/acpi.h>
12
13 #ifdef CONFIG_ACPI
<..>
38 #else
39 static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev)
40 { return NULL; }
41 #endif
acpi_handle is not defined
include/linux/acpi.h:
30 #ifdef CONFIG_ACPI
<..>
39 #include <acpi/acpi.h>
Perhaps
diff --git a/include/linux/pci-acpi.h b/include/linux/pci-acpi.h
index 479d9bb..09b5835 100644
--- a/include/linux/pci-acpi.h
+++ b/include/linux/pci-acpi.h
@@ -9,6 +9,7 @@
#define _PCI_ACPI_H_
#include <linux/acpi.h>
+#include <acpi/acpi.h>
#ifdef CONFIG_ACPI
extern acpi_status pci_acpi_add_bus_pm_notifier(struct acpi_device *dev,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists