mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] char/hvc: adding __init macro to char/hvc_vio.c
@ 2009-08-20 21:14 Peter Hüwe
  2009-09-17  0:38 ` Peter Huewe
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Hüwe @ 2009-08-20 21:14 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Benjamin Herrenschmidt, Stephen Rothwell, Paul Mackerras,
	Nicolas Palix, Mike Frysinger, linuxppc-dev, linux-kernel,
	kernel-janitors

From: Peter Huewe <peterhuewe@gmx.de>

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of char/hvc_vio.c

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-rc6 - linus git tree, Do 20. Aug 22:26:06 CEST 2009

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c
index c72b994..10be343 100644
--- a/drivers/char/hvc_vio.c
+++ b/drivers/char/hvc_vio.c
@@ -120,7 +120,7 @@ static struct vio_driver hvc_vio_driver = {
 	}
 };
 
-static int hvc_vio_init(void)
+static int __init hvc_vio_init(void)
 {
 	int rc;
 
@@ -134,7 +134,7 @@ static int hvc_vio_init(void)
 }
 module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */
 
-static void hvc_vio_exit(void)
+static void __exit hvc_vio_exit(void)
 {
 	vio_unregister_driver(&hvc_vio_driver);
 }

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

* Re: [PATCH] char/hvc: adding __init macro to char/hvc_vio.c
  2009-08-20 21:14 [PATCH] char/hvc: adding __init macro to char/hvc_vio.c Peter Hüwe
@ 2009-09-17  0:38 ` Peter Huewe
  2009-09-18 10:25   ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Huewe @ 2009-09-17  0:38 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Benjamin Herrenschmidt, Stephen Rothwell, Paul Mackerras,
	Nicolas Palix, Mike Frysinger, linuxppc-dev, linux-kernel,
	kernel-janitors

Am Thursday 20 August 2009 23:14:06 schrieb Peter Hüwe:
> From: Peter Huewe <peterhuewe@gmx.de>
>
> Trivial patch which adds the __init/__exit macros to the module_init/
> module_exit functions of char/hvc_vio.c
>
> 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-rc6 - linus git tree, Do 20. Aug 22:26:06 CEST 2009
>
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>

Hi Jiri,
this one got merged by Benjamin, so you can drop it from your queue :)
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=948c28fe3001f2c9d852dff2a0b2c69fe7cec91b


@Benjamin: Thanks for merging.

Regards,
Peter

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

* Re: [PATCH] char/hvc: adding __init macro to char/hvc_vio.c
  2009-09-17  0:38 ` Peter Huewe
@ 2009-09-18 10:25   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2009-09-18 10:25 UTC (permalink / raw)
  To: Peter Huewe
  Cc: Benjamin Herrenschmidt, Stephen Rothwell, Paul Mackerras,
	Nicolas Palix, Mike Frysinger, linuxppc-dev, linux-kernel,
	kernel-janitors

On Thu, 17 Sep 2009, Peter Huewe wrote:

> > 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-rc6 - linus git tree, Do 20. Aug 22:26:06 CEST 2009
> >
> > Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
> 
> Hi Jiri,
> this one got merged by Benjamin, so you can drop it from your queue :)
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=948c28fe3001f2c9d852dff2a0b2c69fe7cec91b

Dropped, thanks for letting me know.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

end of thread, other threads:[~2009-09-18 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20 21:14 [PATCH] char/hvc: adding __init macro to char/hvc_vio.c Peter Hüwe
2009-09-17  0:38 ` Peter Huewe
2009-09-18 10:25   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®