public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.4] current bk ipmi build fix
@ 2003-06-25 18:23 Oleg Drokin
  0 siblings, 0 replies; only message in thread
From: Oleg Drokin @ 2003-06-25 18:23 UTC (permalink / raw)
  To: marcelo, linux-kernel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-25 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-25 18:23 [2.4] current bk ipmi build fix Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox