[PATCH] CONFIG_DEBUG_FS wrongly written asl CONFIG_DEBUGFS

From: Christoph Egger
Date: Wed Jan 13 2010 - 06:47:05 EST


Following a already fixed documentation bug this code snippet wrongly
uses CONFIG_DEBUGFS without the underscore before FS. This patch
corrects the error.
---
drivers/mfd/ab3100-otp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/ab3100-otp.c b/drivers/mfd/ab3100-otp.c
index 0499b20..a04b53c 100644
--- a/drivers/mfd/ab3100-otp.c
+++ b/drivers/mfd/ab3100-otp.c
@@ -95,7 +95,7 @@ static int __init ab3100_otp_read(struct ab3100_otp *otp)
* This is a simple debugfs human-readable file that dumps out
* the contents of the OTP.
*/
-#ifdef CONFIG_DEBUGFS
+#ifdef CONFIG_DEBUG_FS
static int show_otp(struct seq_file *s, void *v)
{
struct ab3100_otp *otp = s->private;
--
1.6.3.3


--7JfCtLOvnd9MIVvH--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/