From: Inaky Perez-Gonzalez Date: Tue, 20 Jan 2009 20:17:28 +0000 (-0800) Subject: debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n X-Git-Tag: v2.6.29-rc3~28^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8adb711f3668b034e7b956fac951ed08b53e0d55;p=pandora-kernel.git debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n Toralf Förster reported a build failure in the WiMAX stack when CONFIG_DEBUG_FS=n http://linuxwimax.org/pipermail/wimax/2009-January/000449.html This is due to debugfs_create_size_t() missing an stub that returns -ENODEV when the DEBUGFS subsystem is not configured in (like the rest of the debugfs API). This patch adds said stub. Reported-by: Toralf Förster Signed-off-by: Inaky Perez-Gonzalez Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed