[PATCH] 2.6.25-mm1 - Build Failure with PWRficient onchip memory controller driver

From: Kamalesh Babulal
Date: Fri Apr 18 2008 - 07:27:05 EST


Hi Andrew,

The 2.6.25-mm1 kernel allyesconfig build fails on the powerpc

drivers/edac/pasemi_edac.c: In function âpasemi_edac_initâ:
drivers/edac/pasemi_edac.c:288: error: implicit declaration of function âopstate_initâ
drivers/edac/pasemi_edac.c: In function â__check_edac_op_stateâ:
drivers/edac/pasemi_edac.c:304: error: âedac_op_stateâ undeclared (first use in this function)
drivers/edac/pasemi_edac.c:304: error: (Each undeclared identifier is reported only once
drivers/edac/pasemi_edac.c:304: error: for each function it appears in.)
drivers/edac/pasemi_edac.c: At top level:
drivers/edac/pasemi_edac.c:304: error: âedac_op_stateâ undeclared here (not in a function)
make[2]: *** [drivers/edac/pasemi_edac.o] Error 1
make[1]: *** [drivers/edac] Error 2
make: *** [drivers] Error 2

I have only build tested the patch.

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
---
--- linux-2.6.25/drivers/edac/pasemi_edac.c 2008-04-18 16:18:27.000000000 +0530
+++ linux-2.6.25/drivers/edac/~pasemi_edac.c 2008-04-18 16:18:36.000000000 +0530
@@ -26,6 +26,7 @@
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/slab.h>
+#include <linux/edac.h>
#include "edac_core.h"

#define MODULE_NAME "pasemi_edac"
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/