Re: Linux 2.4.21rc1-ac4

Andreas Haumer (andreas@xss.co.at)
Sun, 04 May 2003 18:23:42 +0200


Hi!

The following patch fixes compile problems in ipmi_kcs_intf.c
due to ACPI changes introduced in 2.4.21-rc1-ac3

Note: this just fixes compilation errors, I don't know
if there are also semantic problems with the new ACPI code
and the IPMI driver as I don't use it. Please check...

--- linux-2.4.21-rc1-ac4/drivers/char/ipmi/ipmi_kcs_intf.c.orig Sun May 4 11:00:02 2003
+++ linux-2.4.21-rc1-ac4/drivers/char/ipmi/ipmi_kcs_intf.c Sun May 4 11:00:45 2003
@@ -1031,9 +1031,8 @@
from Hewlett-Packard simple bmc.c, a GPL KCS driver. */

#include <linux/acpi.h>
-/* A real hack, but everything's not there yet in 2.4. */
-#include <../drivers/acpi/include/acpi.h>
-#include <../drivers/acpi/include/actypes.h>
+#include <acpi/actbl.h>
+#include <acpi/actypes.h>

struct SPMITable {
s8 Signature[4];
@@ -1058,7 +1057,7 @@
static unsigned long acpi_find_bmc(void)
{
acpi_status status;
- acpi_table_header *spmi;
+ struct acpi_table_header *spmi;
static unsigned long io_base = 0;

if (io_base != 0)

Regards

- andreas

-- 
Andreas Haumer                     | mailto:andreas@xss.co.at
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/