diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-08-20 22:42:31 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-02-27 18:27:14 +0100 |
commit | eb054e3b3d531e311e9a34b902fe29247b00f724 (patch) | |
tree | d33829f6d01686524926b8d463f056966787dace /drivers/char | |
parent | f351d4bb3ce5a86f75cf297e38f87c4e437593d7 (diff) | |
download | kernel_samsung_tuna-eb054e3b3d531e311e9a34b902fe29247b00f724.zip kernel_samsung_tuna-eb054e3b3d531e311e9a34b902fe29247b00f724.tar.gz kernel_samsung_tuna-eb054e3b3d531e311e9a34b902fe29247b00f724.tar.bz2 |
m68k: vme_scc - __init annotations
Trivial patch which adds the __init macro to the module_init
function and all of its helper functions of drivers/char/vme_scc.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/vme_scc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c index 994e1a5..8b24729 100644 --- a/drivers/char/vme_scc.c +++ b/drivers/char/vme_scc.c @@ -136,7 +136,7 @@ static const struct tty_port_operations scc_port_ops = { * vme_scc_init() and support functions *---------------------------------------------------------------------------*/ -static int scc_init_drivers(void) +static int __init scc_init_drivers(void) { int error; @@ -172,7 +172,7 @@ static int scc_init_drivers(void) /* ports[] array is indexed by line no (i.e. [0] for ttyS0, [1] for ttyS1). */ -static void scc_init_portstructs(void) +static void __init scc_init_portstructs(void) { struct scc_port *port; int i; @@ -195,7 +195,7 @@ static void scc_init_portstructs(void) #ifdef CONFIG_MVME147_SCC -static int mvme147_scc_init(void) +static int __init mvme147_scc_init(void) { struct scc_port *port; int error; @@ -298,7 +298,7 @@ fail: #ifdef CONFIG_MVME162_SCC -static int mvme162_scc_init(void) +static int __init mvme162_scc_init(void) { struct scc_port *port; int error; @@ -404,7 +404,7 @@ fail: #ifdef CONFIG_BVME6000_SCC -static int bvme6000_scc_init(void) +static int __init bvme6000_scc_init(void) { struct scc_port *port; int error; @@ -503,7 +503,7 @@ fail_free_b_rx: #endif -static int vme_scc_init(void) +static int __init vme_scc_init(void) { int res = -ENODEV; |