Skip to contentSkip to conversation

char/hvc: adding __init macro to char/hvc_vio.c

PATCH In review Peter Hüwe 2 participants 3 messages Aug 20, 2009 – Sep 18, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 char/hvc: adding __init macro to char/hvc_vio.c

From: Peter Huewe <[email protected]>

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

---

drivers/char/hvc_vio.c +2 -2
index c72b994..10be343 100644
@@ -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);
 }
#1 lore raw

Am Thursday 20 August 2009 23:14:06 schrieb Peter Hüwe:

Quoted 11 lines

From: Peter Huewe <[email protected]>

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

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”8c28fe3001f2c9d852dff2a0b2c69fe7cec91b

@Benjamin: Thanks for merging.

Regards,
Peter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 10 lines · Peter Huewe
Quoted 6 lines

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

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”8c28fe3001f2c9d852dff2a0b2c69fe7cec91b

Dropped, thanks for letting me know.

Signature · 6 lines
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html