Skip to contentSkip to conversation

mfd: Allow platforms to specify an IRQ base for WM8350

PATCH In review Mark Brown 2 participants 2 messages Oct 21, 2009

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Allow platforms to specify an IRQ base for WM8350

This is currently unused by the wm8350 drivers but getting it merged now will reduce merge issues in the future when implementing wm8350 genirq support.

---
 include/linux/mfd/wm8350/core.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/mfd/wm8350/core.h +2 -0
index 32197fd..ffce508 100644
@@ -646,10 +646,12 @@ struct wm8350 {
  * @init: Function called during driver initialisation.  Should be
  *        used by the platform to configure GPIO functions and similar.
  * @irq_high: Set if WM8350 IRQ is active high.
+ * @irq_base: Base IRQ for genirq (not currently used).
  */
 struct wm8350_platform_data {
 	int (*init)(struct wm8350 *wm8350);
 	int irq_high;
+	int irq_base;
 };
 
 
Signature · 1 line
1.6.5
#1 lore raw

Hi Mark,

Quoted 3 lines · Mark Brown

This is currently unused by the wm8350 drivers but getting it merged now will reduce merge issues in the future when implementing wm8350 genirq support.

Patch applied, thanks.

Cheers,
Samuel.

Quoted 25 lines
---
 include/linux/mfd/wm8350/core.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/mfd/wm8350/core.h +2 -0
index 32197fd..ffce508 100644
@@ -646,10 +646,12 @@ struct wm8350 {
  * @init: Function called during driver initialisation.  Should be
  *        used by the platform to configure GPIO functions and similar.
  * @irq_high: Set if WM8350 IRQ is active high.
+ * @irq_base: Base IRQ for genirq (not currently used).
  */
 struct wm8350_platform_data {
 	int (*init)(struct wm8350 *wm8350);
 	int irq_high;
+	int irq_base;
 };
 
 
Signature · 1 line
1.6.5
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/