[PATCH] typo in kernel source (DEBUGFS)

Christoph Egger
2010-01-13T11:56:54Z

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

Hi all!

As part of the VAMOS[0] research project at the University of
Erlangen we're checking referential integrity between kernel KConfig
options and in-code Conditional blocks.

While working on this we detected a spelling error in
drivers/mfd/ab3100-otp.c which can be corrected using the attached
patch.

Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.

Regards

Christoph Egger

[0] http://vamos1.informatik.uni-erlangen.de/

[-- Attachment #2: 0001-CONFIG_DEBUG_FS-wrongly-written-asl-CONFIG_DEBUGFS.patch --]
[-- Type: text/x-diff, Size: 973 bytes --]

>From 31f303b71011a42dcef569a5caf26ebb2eeb429e Mon Sep 17 00:00:00 2001
From: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Date: Wed, 13 Jan 2010 12:47:05 +0100
Subject: [PATCH] CONFIG_DEBUG_FS wrongly written asl CONFIG_DEBUGFS

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