summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBibek Basu <bibek.basu@stericsson.com>2011-08-25 16:04:14 +0530
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:53:18 +0200
commit52e6acbc2dfdae0e1bc4ca8cba6737fe146a2acb (patch)
tree43b3cdfbaeb9839f3890851b4f0bf464a974b5f0 /include
parentd63bb01ecfe8df0d5cb4b803a14fc6e0ea5c1914 (diff)
u5500 : ab5500 core driver update for cut 2.0
Following changes made: 1. support for new interrupts. 2. debugfs support for new set of registers in each banks ST-Ericsson Linux next: 336280 ST-Ericsson ID: 257120 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6630d3d8d660959e2d7946fc6d7b31506507a222 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/27213 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/abx500.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
index e99a3d177ea..cd2e36d0108 100644
--- a/include/linux/mfd/abx500.h
+++ b/include/linux/mfd/abx500.h
@@ -311,6 +311,7 @@ enum ab5500_banks_addr {
* @chip_name: name of this chip variant
* @chip_id: 8 bit chip ID for this chip variant
* @irq_lock: a lock to protect the mask
+ * @num_event_reg: number events registered
* @abb_events: a local bit mask of the prcmu wakeup events
* @event_mask: a local copy of the mask event registers
* @last_event_mask: a copy of the last event_mask written to hardware
@@ -325,6 +326,7 @@ struct ab5500 {
char chip_name[32];
u8 chip_id;
struct mutex irq_lock;
+ u32 num_event_reg;
u32 abb_events;
u8 mask[AB5500_NUM_IRQ_REGS];
u8 oldmask[AB5500_NUM_IRQ_REGS];