Skip to contentSkip to conversation

[2.4] current bk ipmi build fix

PATCH Oleg Drokin 1 participant 1 message Jun 25, 2003 IPMI

lore
Share & tools
lore
#0 lore raw

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 =====

drivers/char/ipmi/ipmi_kcs_intf.c +4 -4
@@ -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)