autofs4: Only declare function when CONFIG_COMPAT is defined
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 24 Sep 2010 13:22:23 +0000 (15:22 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 5 Oct 2010 09:02:15 +0000 (11:02 +0200)
commit5a44a73b9015e89cfb280ba0534dfcbf1ef29d05
treeab735f09b52700de4e61c46d4199c6c17b64cab3
parent26daad8067f976a6e3622b42b0d80de9a53e8ad9
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 <felipe.contreras@gmail.com>
Cc: Ian Kent <raven@themaw.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/autofs4/root.c