diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-08-20 16:42:31 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-02-27 12:27:14 -0500 |
commit | eb054e3b3d531e311e9a34b902fe29247b00f724 (patch) | |
tree | d33829f6d01686524926b8d463f056966787dace /drivers | |
parent | f351d4bb3ce5a86f75cf297e38f87c4e437593d7 (diff) |
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')
-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 994e1a58b987..8b24729fec89 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 = { | |||
136 | * vme_scc_init() and support functions | 136 | * vme_scc_init() and support functions |
137 | *---------------------------------------------------------------------------*/ | 137 | *---------------------------------------------------------------------------*/ |
138 | 138 | ||
139 | static int scc_init_drivers(void) | 139 | static int __init scc_init_drivers(void) |
140 | { | 140 | { |
141 | int error; | 141 | int error; |
142 | 142 | ||
@@ -172,7 +172,7 @@ static int scc_init_drivers(void) | |||
172 | /* ports[] array is indexed by line no (i.e. [0] for ttyS0, [1] for ttyS1). | 172 | /* ports[] array is indexed by line no (i.e. [0] for ttyS0, [1] for ttyS1). |
173 | */ | 173 | */ |
174 | 174 | ||
175 | static void scc_init_portstructs(void) | 175 | static void __init scc_init_portstructs(void) |
176 | { | 176 | { |
177 | struct scc_port *port; | 177 | struct scc_port *port; |
178 | int i; | 178 | int i; |
@@ -195,7 +195,7 @@ static void scc_init_portstructs(void) | |||
195 | 195 | ||
196 | 196 | ||
197 | #ifdef CONFIG_MVME147_SCC | 197 | #ifdef CONFIG_MVME147_SCC |
198 | static int mvme147_scc_init(void) | 198 | static int __init mvme147_scc_init(void) |
199 | { | 199 | { |
200 | struct scc_port *port; | 200 | struct scc_port *port; |
201 | int error; | 201 | int error; |
@@ -298,7 +298,7 @@ fail: | |||
298 | 298 | ||
299 | 299 | ||
300 | #ifdef CONFIG_MVME162_SCC | 300 | #ifdef CONFIG_MVME162_SCC |
301 | static int mvme162_scc_init(void) | 301 | static int __init mvme162_scc_init(void) |
302 | { | 302 | { |
303 | struct scc_port *port; | 303 | struct scc_port *port; |
304 | int error; | 304 | int error; |
@@ -404,7 +404,7 @@ fail: | |||
404 | 404 | ||
405 | 405 | ||
406 | #ifdef CONFIG_BVME6000_SCC | 406 | #ifdef CONFIG_BVME6000_SCC |
407 | static int bvme6000_scc_init(void) | 407 | static int __init bvme6000_scc_init(void) |
408 | { | 408 | { |
409 | struct scc_port *port; | 409 | struct scc_port *port; |
410 | int error; | 410 | int error; |
@@ -503,7 +503,7 @@ fail_free_b_rx: | |||
503 | #endif | 503 | #endif |
504 | 504 | ||
505 | 505 | ||
506 | static int vme_scc_init(void) | 506 | static int __init vme_scc_init(void) |
507 | { | 507 | { |
508 | int res = -ENODEV; | 508 | int res = -ENODEV; |
509 | 509 | ||