From: Felipe Contreras Date: Fri, 24 Sep 2010 13:22:23 +0000 (+0200) Subject: autofs4: Only declare function when CONFIG_COMPAT is defined X-Git-Tag: v2.6.37-rc1~174^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a44a73b9015e89cfb280ba0534dfcbf1ef29d05;p=pandora-kernel.git autofs4: Only declare function when CONFIG_COMPAT is defined The patch solves the following warnings message when CONFIG_COMPAT is not defined: fs/autofs4/root.c:31: warning: ‘autofs4_root_compat_ioctl’ declared ‘static’ but never defined Signed-off-by: Felipe Contreras Cc: Ian Kent Cc: "H. Peter Anvin" Cc: Arnd Bergmann Signed-off-by: Frederic Weisbecker Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed