procfs: add stub for proc_mkdir_mode()
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 17 May 2011 22:44:12 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 May 2011 09:55:24 +0000 (02:55 -0700)
commitf12a20fc9bfba4218ecbc4e40c8e08dc2a85dc99
treeda399a0a02522d38b56d38616ac4b268e0a58f92
parentb2db21997f43907f54500edaf063253ca2a186f9
procfs: add stub for proc_mkdir_mode()

Provide a stub for proc_mkdir_mode() when CONFIG_PROC_FS is not
enabled, just like the stub for proc_mkdir().

Fixes this linux-next build error:

  drivers/net/wireless/airo.c:4504: error: implicit declaration of function 'proc_mkdir_mode'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/proc_fs.h