]> err.no Git - linux-2.6/blobdiff - include/asm-arm26/bug.h
[PATCH] mark struct file_operations const 8
[linux-2.6] / include / asm-arm26 / bug.h
index 920b7053336801e0e172dd804572e967918bb4cc..8545d58b0475ba5646b20df3b00fb7f80bbf2e44 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _ASMARM_BUG_H
 #define _ASMARM_BUG_H
 
-#include <linux/config.h>
 
+#ifdef CONFIG_BUG
 #ifdef CONFIG_DEBUG_BUGVERBOSE
 extern volatile void __bug(const char *file, int line, void *data);
 /* give file/line information */
@@ -12,6 +12,8 @@ extern volatile void __bug(const char *file, int line, void *data);
 #endif
 
 #define HAVE_ARCH_BUG
+#endif
+
 #include <asm-generic/bug.h>
 
 #endif