[2.4] current bk ipmi build fix

From: Oleg Drokin (green@linuxhacker.ru)
Date: Wed Jun 25 2003 - 13:23:05 EST


Hello!

   Not that I really have the hardware, but it breaks my "allyesconfig" build.
   So here is this compile fix for ipmi driver in current 2.4 bk tree.
   (I see that Alan have some similarly named fix in his tree and
    actually there is whole new version of the driver on the net somewhere,
    but it is unclear when it is planned to be pushed to 2.4 tree,
    so I'd better post this now ;) ).

Bye,
    Oleg
===== drivers/char/ipmi/ipmi_kcs_intf.c 1.3 vs edited =====
--- 1.3/drivers/char/ipmi/ipmi_kcs_intf.c Sat May 24 01:12:48 2003
+++ edited/drivers/char/ipmi/ipmi_kcs_intf.c Wed Jun 25 22:09:39 2003
@@ -1032,9 +1032,9 @@
 
 #include <linux/acpi.h>
 /* A real hack, but everything's not there yet in 2.4. */
-#define COMPILER_DEPENDENT_UINT64 unsigned long
-#include <../drivers/acpi/include/acpi.h>
-#include <../drivers/acpi/include/actypes.h>
+#include <acpi/acpi.h>
+#include <acpi/actypes.h>
+#include <acpi/actbl.h>
 
 struct SPMITable {
         s8 Signature[4];
@@ -1059,7 +1059,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)
-
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/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:20 EST