Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hvc_console: Add __init and __exit to hvc_vio

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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Peter Huewe and committed by
Benjamin Herrenschmidt
948c28fe 80d3e8ab

+2 -2
+2 -2
drivers/char/hvc_vio.c
··· 120 120 } 121 121 }; 122 122 123 - static int hvc_vio_init(void) 123 + static int __init hvc_vio_init(void) 124 124 { 125 125 int rc; 126 126 ··· 134 134 } 135 135 module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ 136 136 137 - static void hvc_vio_exit(void) 137 + static void __exit hvc_vio_exit(void) 138 138 { 139 139 vio_unregister_driver(&hvc_vio_driver); 140 140 }