]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh64/uaccess.h
[PATCH] smc91x: allow for dynamic bus access configs
[linux-2.6-omap-h63xx.git] / include / asm-sh64 / uaccess.h
index 56aa3cf0f2734da96dda1ce66469dd4d5b4fcb13..f4936d8fa617fe9b7ecc8e2895055147f492fa4c 100644 (file)
@@ -287,7 +287,7 @@ __sfu_res = __strncpy_from_user((unsigned long) (dest), __sfu_src, __sfu_count);
  */
 extern long __strnlen_user(const char *__s, long __n);
 
-extern __inline__ long strnlen_user(const char *s, long n)
+static inline long strnlen_user(const char *s, long n)
 {
        if (!__addr_ok(s))
                return 0;