summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/bug.h')
-rw-r--r--include/asm-arm/bug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/bug.h b/include/asm-arm/bug.h
index 0e36fd5d87df..7b62351f097d 100644
--- a/include/asm-arm/bug.h
+++ b/include/asm-arm/bug.h
@@ -4,10 +4,10 @@
#ifdef CONFIG_BUG
#ifdef CONFIG_DEBUG_BUGVERBOSE
-extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));
+extern void __bug(const char *file, int line) __attribute__((noreturn));
/* give file/line information */
-#define BUG() __bug(__FILE__, __LINE__, NULL)
+#define BUG() __bug(__FILE__, __LINE__)
#else
OpenPOWER on IntegriCloud