diff mbox

[V4,1/2] mfd: tps65090: Fix enum in header file

Message ID 1363897842-19835-1-git-send-email-rklein@nvidia.com
State Not Applicable, archived
Headers show

Commit Message

Rhyland Klein March 21, 2013, 8:30 p.m. UTC
The enum is missing the definition for the first bit, which makes all
the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit
which at 0.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
---
v4:
 - no changes since v1

 include/linux/mfd/tps65090.h |    1 +
 1 file changed, 1 insertion(+)

Comments

Samuel Ortiz April 8, 2013, 4:01 p.m. UTC | #1
Hi Rhyland,

On Thu, Mar 21, 2013 at 04:30:41PM -0400, Rhyland Klein wrote:
> The enum is missing the definition for the first bit, which makes all
> the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit
> which at 0.
> 
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
> v4:
>  - no changes since v1
> 
>  include/linux/mfd/tps65090.h |    1 +
>  1 file changed, 1 insertion(+)
Applied, thanks.

Cheers,
Samuel.
diff mbox

Patch

diff --git a/include/linux/mfd/tps65090.h b/include/linux/mfd/tps65090.h
index 998628a..3f43069 100644
--- a/include/linux/mfd/tps65090.h
+++ b/include/linux/mfd/tps65090.h
@@ -27,6 +27,7 @@ 
 
 /* TPS65090 IRQs */
 enum {
+	TPS65090_IRQ_INTERRUPT,
 	TPS65090_IRQ_VAC_STATUS_CHANGE,
 	TPS65090_IRQ_VSYS_STATUS_CHANGE,
 	TPS65090_IRQ_BAT_STATUS_CHANGE,