2010-02-10 13:34:53

by Eduardo Valentin

[permalink] [raw]
Subject: [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(-)

diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
index 0004823..04656f8 100644
--- a/drivers/mfd/twl4030-core.c
+++ b/drivers/mfd/twl4030-core.c
@@ -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
--
1.6.5.7.g9ecb2


2010-02-11 12:47:50

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH 1/1] MFD: twl4030-core: Fix a typo in the twl_has_pwrbutton definition

Hi Eduardo,

On Wed, Feb 10, 2010 at 03:33:48PM +0200, Eduardo Valentin wrote:
> 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.


> Signed-off-by: Eduardo Valentin <[email protected]>
> ---
> drivers/mfd/twl4030-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
> index 0004823..04656f8 100644
> --- a/drivers/mfd/twl4030-core.c
> +++ b/drivers/mfd/twl4030-core.c
> @@ -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
> --
> 1.6.5.7.g9ecb2
>

--
Intel Open Source Technology Centre
http://oss.intel.com/