MFD: twl4030-core: Fix a typo in the twl_has_pwrbutton definition
Subsystems (2)
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.
Signed-off-by Eduardo Valentin <[email protected]>
--- drivers/mfd/twl4030-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl4030-core.c +1 -1
@@ -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
Hi Eduardo,
Quoted 4 lines · Eduardo Valentin
From: Eduardo Valentin <[email protected]>
Change the typo
CONFIG_INPUT_TWL4030_PWBUTTON_MODULEin thetwl_has_pwrbuttondefinition toCONFIG_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
Signed-off-by Eduardo Valentin <[email protected]>--- drivers/mfd/twl4030-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/mfd/twl4030-core.c +1
-1@@ -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 () falseSignature · 1 line
1.6.5.7.g9ecb2
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/