Fix "multiple definition of `debugfs_create_size_t'"
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Jan 2009 03:21:26 +0000 (19:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Jan 2009 03:21:26 +0000 (19:21 -0800)
commit5ee810072175042775e39bdd3eaaa68884c27805
tree78776d793a11189de7d1d280f37f83f8f96f60c8
parent5376071069ec8a7e6a8112beab16fc24f5139475
Fix "multiple definition of `debugfs_create_size_t'"

Introduced by 8adb711f3668b034e7b956fac951ed08b53e0d55 ("debugfs:
introduce stub for debugfs_create_size_t() when DEBUG_FS=n") and due to
a simple missing "static inline".

Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Acked-by: Greg KH <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/debugfs.h