]> err.no Git - linux-2.6/commitdiff
pasemi_edac needs to include linux/edac.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Apr 2008 01:16:16 +0000 (11:16 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 02:06:57 +0000 (19:06 -0700)
Commit c3c52bce6993c6d37af2c2de9b482a7013d646a7 ("edac: fix module
initialization on several modules 2nd time") added a call to opstate_init
but did not include linux/edac.h that declares it.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/pasemi_edac.c

index 3fd65a563848c03f225cc92b984daa2bf969551b..8e6b91bd2e99994525cba93fbdaac6750ec6da23 100644 (file)
@@ -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"