]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/blackfin/lib/strcmp.c
Blackfin arch: move EXPORT_SYMBOL() to C files where the symbol is actually defined
[linux-2.6.git] / arch / blackfin / lib / strcmp.c
index 2ad47c4254ba579ea423a0011cb1a26736fadc8d..fde39a1950ce8903124831d8758692cad384f648 100644 (file)
@@ -1,11 +1,19 @@
-#include <linux/types.h>
+/*
+ * Provide symbol in case str func is not inlined.
+ *
+ * Copyright (c) 2006-2007 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
 
 #define strcmp __inline_strcmp
 #include <asm/string.h>
 #undef strcmp
 
+#include <linux/module.h>
+
 int strcmp(const char *dest, const char *src)
 {
-               return __inline_strcmp(dest, src);
+       return __inline_strcmp(dest, src);
 }
-
+EXPORT_SYMBOL(strcmp);