summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/bswapsi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/mips/lib/bswapsi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/lib/bswapsi.c b/arch/mips/lib/bswapsi.c
index 22d8e4f6d66e..02d9df489197 100644
--- a/arch/mips/lib/bswapsi.c
+++ b/arch/mips/lib/bswapsi.c
@@ -2,6 +2,9 @@
#include <linux/export.h>
#include <linux/compiler.h>
+/* To silence -Wmissing-prototypes. */
+unsigned int __bswapsi2(unsigned int u);
+
unsigned int notrace __bswapsi2(unsigned int u)
{
return (((u) & 0xff000000) >> 24) |
@@ -9,5 +12,4 @@ unsigned int notrace __bswapsi2(unsigned int u)
(((u) & 0x0000ff00) << 8) |
(((u) & 0x000000ff) << 24);
}
-
EXPORT_SYMBOL(__bswapsi2);