Skip to contentSkip to conversation

mfd: Move PCF50633 IRQ protoypes where the definitions can see them

PATCH Applied Mark Brown 2 participants 5 messages Aug 17, 2010 – Aug 21, 2010

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 mfd: Move PCF50633 IRQ protoypes where the definitions can see them

Fixed warnings about unprototyped global functions.

---
 drivers/mfd/pcf50633-core.c       |    7 -------
 include/linux/mfd/pcf50633/core.h |    7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)
drivers/mfd/pcf50633-core.c +0 -7
index 23e5855..6d4233f 100644
@@ -25,13 +25,6 @@
 
 #include <linux/mfd/pcf50633/core.h>
 
-int pcf50633_irq_init(struct pcf50633 *pcf, int irq);
-void pcf50633_irq_free(struct pcf50633 *pcf);
-#ifdef CONFIG_PM
-int pcf50633_irq_suspend(struct pcf50633 *pcf);
-int pcf50633_irq_resume(struct pcf50633 *pcf);
-#endif
-
 static int __pcf50633_read(struct pcf50633 *pcf, u8 reg, int num, u8 *data)
 {
 	int ret;
include/linux/mfd/pcf50633/core.h +7 -0
index ad411a7..50d4a04 100644
@@ -227,4 +227,11 @@ static inline struct pcf50633 *dev_to_pcf50633(struct device *dev)
 	return dev_get_drvdata(dev);
 }
 
+int pcf50633_irq_init(struct pcf50633 *pcf, int irq);
+void pcf50633_irq_free(struct pcf50633 *pcf);
+#ifdef CONFIG_PM
+int pcf50633_irq_suspend(struct pcf50633 *pcf);
+int pcf50633_irq_resume(struct pcf50633 *pcf);
+#endif
+
 #endif
Signature · 1 line
1.7.1
author
#1 lore raw

PATCH 2/2 gpiolib: Hook up WM8994 gpio_to_irq()

Not sure where this went.

---
 drivers/gpio/wm8994-gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpio/wm8994-gpio.c +1 -0
index 2ac9a16..618398e 100644
@@ -140,6 +140,7 @@ static struct gpio_chip template_chip = {
 	.get			= wm8994_gpio_get,
 	.direction_output	= wm8994_gpio_direction_out,
 	.set			= wm8994_gpio_set,
+	.to_irq			= wm8994_gpio_to_irq,
 	.dbg_show		= wm8994_gpio_dbg_show,
 	.can_sleep		= 1,
 };
Signature · 1 line
1.7.1
#2 lore raw

Re: [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()

Quoted 1 line · Mark Brown

Not sure where this went.

You mean I missed this one ? Anyway, applied now.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/
author
#3 lore raw

Re: [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()

Quoted 4 lines · Samuel Ortiz
Quoted 1 line · Mark Brown

Not sure where this went.

You mean I missed this one ? Anyway, applied now.

Me more likely. Thanks.

Applied
#4 lore raw
In reply to Mark Brown
Quoted 1 line · Mark Brown

Fixed warnings about unprototyped global functions.

Applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/