]> err.no Git - linux-2.6/commit
debugfs: fix sparse warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 01:08:16 +0000 (17:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 22:47:06 +0000 (14:47 -0800)
commit3634634edd49c115da931998b9540bcc17665b05
tree1bd626e95866cf67e190d209d8525d3287d31b81
parentc1fe539a7e031302af1d121163e7ce68e679ba8c
debugfs: fix sparse warnings

extern does not belong in C files, move declaration to linux/debugfs.h
fs/debugfs/file.c:42:30: warning: symbol 'debugfs_file_operations' was not declared. Should it be static?
fs/debugfs/file.c:54:31: warning: symbol 'debugfs_link_operations' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/debugfs/inode.c
include/linux/debugfs.h