summaryrefslogtreecommitdiff
path: root/include/linux/devfs_fs_kernel.h
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2004-09-02 20:26:16 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-02 20:26:16 -0700
commit48d43bd7e7c9db952be7907b2e50efbcf3d2b9b1 (patch)
tree62f441143295f34ba738da05b9db0511aca0ef5f /include/linux/devfs_fs_kernel.h
parentc77960329ba6a2a819b777224b23039ca2b2f927 (diff)
[PATCH] fix proc_symlink() warning with CONFIG_PROC_FS=n
The last parameter of proc_symlink is usually a "const char *", but the stub in <linux/proc_fs.h> for CONFIG_PROC_FS=n omits the const and makes its last parameter a "char *". This causes a warning about discarding qualifiers for any code that passes something const for that last parameter. This patch fixes that up and also, for neatness's sake, makes the stub for create_proc_read_entry() match the usual prototype more exactly (use read_proc_t rather than the underlying function pointer type). Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/devfs_fs_kernel.h')
0 files changed, 0 insertions, 0 deletions