]> git.baikalelectronics.ru Git - kernel.git/commit
staging: smbfs building fix
authorYang Ruirui <ruirui.r.yang@tieto.com>
Fri, 14 Jan 2011 07:51:04 +0000 (15:51 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 06:50:52 +0000 (01:50 -0500)
commit690211e43bf954743df48bfdb63c41a91331ddae
tree31bf7fc84799680b23f59b7d65a5221b768e57a1
parentbce0eeed1705fdeda44fa14dc182fe728d9cf75d
staging: smbfs building fix

Building error for smbfs:

drivers/staging/smbfs/dir.c:286: error: static declaration of 'smbfs_dentry_operations' follows non-static declaration
drivers/staging/smbfs/proto.h:42: error: previous declaration of 'smbfs_dentry_operations' was here
drivers/staging/smbfs/dir.c:294: error: static declaration of 'smbfs_dentry_operations_case' follows non-static declaration
drivers/staging/smbfs/proto.h:41: error: previous declaration of 'smbfs_dentry_operations_case' was here
make[3]: *** [drivers/staging/smbfs/dir.o] Error 1
make[2]: *** [drivers/staging/smbfs] Error 2
make[1]: *** [drivers/staging] Error 2
make[1]: *** Waiting for unfinished jobs....

Fix it by removing static keywords

Signed-off-by: Yang Ruirui <ruirui.r.yang@tieto.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/smbfs/dir.c