aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm831x
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-02 14:18:51 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-31 17:28:19 -0400
commit5c05a8d1f0105ada3cb04be5b70686fc6b272619 (patch)
treeba8c16b5c553c4f35a2a483aa7d7f5d5625cc3dd /include/linux/mfd/wm831x
parentb9d03d999b46f0897492f3aac3e794312e5282db (diff)
mfd: Support dynamic allocation of IRQ range for wm831x
Use irq_allocate_desc() to get the IRQ range, which turns into a noop on non-sparse systems. Since all existing users are non-sparse there should be no compatibility issues. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm831x')
-rw-r--r--include/linux/mfd/wm831x/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/wm831x/core.h b/include/linux/mfd/wm831x/core.h
index ebead1c401aa..9564cf315276 100644
--- a/include/linux/mfd/wm831x/core.h
+++ b/include/linux/mfd/wm831x/core.h
@@ -262,7 +262,7 @@ struct wm831x {
262 262
263 int irq; /* Our chip IRQ */ 263 int irq; /* Our chip IRQ */
264 struct mutex irq_lock; 264 struct mutex irq_lock;
265 unsigned int irq_base; 265 int irq_base;
266 int irq_masks_cur[WM831X_NUM_IRQ_REGS]; /* Currently active value */ 266 int irq_masks_cur[WM831X_NUM_IRQ_REGS]; /* Currently active value */
267 int irq_masks_cache[WM831X_NUM_IRQ_REGS]; /* Cached hardware value */ 267 int irq_masks_cache[WM831X_NUM_IRQ_REGS]; /* Cached hardware value */
268 268