From: Kristen Accardi <kristen.c.accardi@intel.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: arjan@linux.intel.com, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, len.brown@intel.com,
greg@kroah.com
Subject: Re: [patch] fix pciehp compile issue when CONFIG_ACPI is not enabled.
Date: Mon, 08 May 2006 13:22:52 -0700 [thread overview]
Message-ID: <1147119772.3094.42.camel@whizzy> (raw)
In-Reply-To: <20060508192431.GB7235@mipter.zuzino.mipt.ru>
Fix build error when CONFIG_ACPI not defined
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
---
Here's an alternate way to solve this problem - also easy, that may look
nicer. (thanks arjan).
include/linux/pci-acpi.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- 2.6-git.orig/include/linux/pci-acpi.h
+++ 2.6-git/include/linux/pci-acpi.h
@@ -50,7 +50,7 @@
extern acpi_status pci_osc_control_set(acpi_handle handle, u32 flags);
extern acpi_status pci_osc_support_set(u32 flags);
#else
-#if !defined(acpi_status)
+#if !defined(AE_ERROR)
typedef u32 acpi_status;
#define AE_ERROR (acpi_status) (0x0001)
#endif
prev parent reply other threads:[~2006-05-08 20:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-08 18:54 [patch] fix pciehp compile issue when CONFIG_ACPI is not enabled Kristen Accardi
2006-05-08 19:24 ` Alexey Dobriyan
2006-05-08 19:39 ` Kristen Accardi
2006-05-08 20:22 ` Kristen Accardi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1147119772.3094.42.camel@whizzy \
--to=kristen.c.accardi@intel.com \
--cc=adobriyan@gmail.com \
--cc=arjan@linux.intel.com \
--cc=greg@kroah.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox