Skip to contentSkip to conversation

MFD: twl4030-core: Fix a typo in the twl_has_pwrbutton definition

PATCH In review Eduardo Valentin 2 participants 2 messages Feb 10, 2010 – Feb 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MFD: twl4030-core: Fix a typo in the twl_has_pwrbutton definition

From: Eduardo Valentin <[email protected]>

Change the typo CONFIG_INPUT_TWL4030_PWBUTTON_MODULE in the twl_has_pwrbutton definition to CONFIG_INPUT_TWL4030_PWRBUTTON_MODULE.

---
 drivers/mfd/twl4030-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl4030-core.c +1 -1
index 0004823..04656f8 100644
@@ -134,7 +134,7 @@
 #define TWL4030_NUM_SLAVES		4
 
 #if defined(CONFIG_INPUT_TWL4030_PWRBUTTON) \
-	|| defined(CONFIG_INPUT_TWL4030_PWBUTTON_MODULE)
+	|| defined(CONFIG_INPUT_TWL4030_PWRBUTTON_MODULE)
 #define twl_has_pwrbutton()	true
 #else
 #define twl_has_pwrbutton()	false
Signature · 1 line
1.6.5.7.g9ecb2
#1 lore raw

Hi Eduardo,

Quoted 4 lines · Eduardo Valentin

From: Eduardo Valentin <[email protected]>

Change the typo CONFIG_INPUT_TWL4030_PWBUTTON_MODULE in the twl_has_pwrbutton definition to CONFIG_INPUT_TWL4030_PWRBUTTON_MODULE.

Patch applied manually, as twl4030-core.c is now twl-core.c in my tree, thanks.

Cheers,
Samuel.

Quoted 21 lines
---
 drivers/mfd/twl4030-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl4030-core.c +1 -1
index 0004823..04656f8 100644
@@ -134,7 +134,7 @@
 #define TWL4030_NUM_SLAVES		4
 
 #if defined(CONFIG_INPUT_TWL4030_PWRBUTTON) \
-	|| defined(CONFIG_INPUT_TWL4030_PWBUTTON_MODULE)
+	|| defined(CONFIG_INPUT_TWL4030_PWRBUTTON_MODULE)
 #define twl_has_pwrbutton()	true
 #else
 #define twl_has_pwrbutton()	false
Signature · 1 line
1.6.5.7.g9ecb2
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/