kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c
@ 2009-08-23  0:01 Peter Huewe
  2009-08-23  0:06 ` Michael Buesch
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Huewe @ 2009-08-23  0:01 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Michael Buesch, Kay Sievers, Greg Kroah-Hartman, linux-kernel,
	kernel-janitors

From: Peter Huewe <peterhuewe@gmx.de>

Trivial patch which adds the __init/__exit macro to the init/exit functions of
drivers/gpio/bt8xxgpio.c

Michael, Kay or Greg, please have a look at the small patch and either pull it
through your tree, or please ack' it so Jiri can pull it through the trivial
tree.

linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c
index 984b587..5590414 100644
--- a/drivers/gpio/bt8xxgpio.c
+++ b/drivers/gpio/bt8xxgpio.c
@@ -331,13 +331,13 @@ static struct pci_driver bt8xxgpio_pci_driver = {
 	.resume		= bt8xxgpio_resume,
 };
 
-static int bt8xxgpio_init(void)
+static int __init bt8xxgpio_init(void)
 {
 	return pci_register_driver(&bt8xxgpio_pci_driver);
 }
 module_init(bt8xxgpio_init)
 
-static void bt8xxgpio_exit(void)
+static void __exit bt8xxgpio_exit(void)
 {
 	pci_unregister_driver(&bt8xxgpio_pci_driver);
 }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c
  2009-08-23  0:01 [PATCH] gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c Peter Huewe
@ 2009-08-23  0:06 ` Michael Buesch
  2009-08-24  8:18   ` [PATCH] gpio: adding __init/__exit macros in Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2009-08-23  0:06 UTC (permalink / raw)
  To: Peter Huewe
  Cc: Jiri Kosina, Kay Sievers, Greg Kroah-Hartman, linux-kernel,
	kernel-janitors

On Sunday 23 August 2009 02:01:10 Peter Huewe wrote:
> From: Peter Huewe <peterhuewe@gmx.de>
> 
> Trivial patch which adds the __init/__exit macro to the init/exit functions of
> drivers/gpio/bt8xxgpio.c
> 
> Michael, Kay or Greg, please have a look at the small patch and either pull it
> through your tree, or please ack' it so Jiri can pull it through the trivial
> tree.
> 
> linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Acked-by: Michael Buesch <mb@bu3sch.de>

> ---
> diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c
> index 984b587..5590414 100644
> --- a/drivers/gpio/bt8xxgpio.c
> +++ b/drivers/gpio/bt8xxgpio.c
> @@ -331,13 +331,13 @@ static struct pci_driver bt8xxgpio_pci_driver = {
>  	.resume		= bt8xxgpio_resume,
>  };
>  
> -static int bt8xxgpio_init(void)
> +static int __init bt8xxgpio_init(void)
>  {
>  	return pci_register_driver(&bt8xxgpio_pci_driver);
>  }
>  module_init(bt8xxgpio_init)
>  
> -static void bt8xxgpio_exit(void)
> +static void __exit bt8xxgpio_exit(void)
>  {
>  	pci_unregister_driver(&bt8xxgpio_pci_driver);
>  }
> 
> 



-- 
Greetings, Michael.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: adding __init/__exit macros in
  2009-08-23  0:06 ` Michael Buesch
@ 2009-08-24  8:18   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2009-08-24  8:18 UTC (permalink / raw)
  To: Michael Buesch
  Cc: Peter Huewe, Kay Sievers, Greg Kroah-Hartman, linux-kernel,
	kernel-janitors

On Sun, 23 Aug 2009, Michael Buesch wrote:

> > Trivial patch which adds the __init/__exit macro to the init/exit functions of
> > drivers/gpio/bt8xxgpio.c
> > 
> > Michael, Kay or Greg, please have a look at the small patch and either pull it
> > through your tree, or please ack' it so Jiri can pull it through the trivial
> > tree.
> > 
> > linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009
> > 
> > Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
> 
> Acked-by: Michael Buesch <mb@bu3sch.de>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-24  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-23  0:01 [PATCH] gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c Peter Huewe
2009-08-23  0:06 ` Michael Buesch
2009-08-24  8:18   ` [PATCH] gpio: adding __init/__exit macros in Jiri Kosina

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).