* [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them
@ 2010-08-17 12:13 Mark Brown
2010-08-17 12:13 ` [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq() Mark Brown
2010-08-20 21:54 ` [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Samuel Ortiz
0 siblings, 2 replies; 5+ messages in thread
From: Mark Brown @ 2010-08-17 12:13 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: linux-kernel, Mark Brown
Fixed warnings about unprototyped global functions.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/pcf50633-core.c | 7 -------
include/linux/mfd/pcf50633/core.h | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index 23e5855..6d4233f 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -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;
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h
index ad411a7..50d4a04 100644
--- a/include/linux/mfd/pcf50633/core.h
+++ b/include/linux/mfd/pcf50633/core.h
@@ -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
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()
2010-08-17 12:13 [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Mark Brown
@ 2010-08-17 12:13 ` Mark Brown
2010-08-20 21:55 ` Samuel Ortiz
2010-08-20 21:54 ` [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Samuel Ortiz
1 sibling, 1 reply; 5+ messages in thread
From: Mark Brown @ 2010-08-17 12:13 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: linux-kernel, Mark Brown
Not sure where this went.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/gpio/wm8994-gpio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/gpio/wm8994-gpio.c b/drivers/gpio/wm8994-gpio.c
index 2ac9a16..618398e 100644
--- a/drivers/gpio/wm8994-gpio.c
+++ b/drivers/gpio/wm8994-gpio.c
@@ -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,
};
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them
2010-08-17 12:13 [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Mark Brown
2010-08-17 12:13 ` [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq() Mark Brown
@ 2010-08-20 21:54 ` Samuel Ortiz
1 sibling, 0 replies; 5+ messages in thread
From: Samuel Ortiz @ 2010-08-20 21:54 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel
On Tue, Aug 17, 2010 at 01:13:36PM +0100, Mark Brown wrote:
> Fixed warnings about unprototyped global functions.
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()
2010-08-17 12:13 ` [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq() Mark Brown
@ 2010-08-20 21:55 ` Samuel Ortiz
2010-08-21 10:09 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Ortiz @ 2010-08-20 21:55 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel
On Tue, Aug 17, 2010 at 01:13:37PM +0100, Mark Brown wrote:
> Not sure where this went.
You mean I missed this one ? Anyway, applied now.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()
2010-08-20 21:55 ` Samuel Ortiz
@ 2010-08-21 10:09 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2010-08-21 10:09 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: linux-kernel
On Fri, Aug 20, 2010 at 11:55:46PM +0200, Samuel Ortiz wrote:
> On Tue, Aug 17, 2010 at 01:13:37PM +0100, Mark Brown wrote:
> > Not sure where this went.
> You mean I missed this one ? Anyway, applied now.
Me more likely. Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-21 10:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17 12:13 [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Mark Brown
2010-08-17 12:13 ` [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq() Mark Brown
2010-08-20 21:55 ` Samuel Ortiz
2010-08-21 10:09 ` Mark Brown
2010-08-20 21:54 ` [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where the definitions can see them Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).