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

login
register
mail settings
Submitter Rhyland Klein
Date April 1, 2013, 10:20 p.m.
Message ID <1364854824-7647-1-git-send-email-rklein@nvidia.com>
Download mbox | patch
Permalink /patch/232825/
State Not Applicable, archived
Headers show

Comments

Rhyland Klein - April 1, 2013, 10:20 p.m.
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(+)

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,