Skip to content

Commit

Permalink
m68k: vme_scc - __init annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
PeterHuewe authored and geertu committed Feb 27, 2010
1 parent f351d4b commit eb054e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/char/vme_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -298,7 +298,7 @@ static int mvme147_scc_init(void)


#ifdef CONFIG_MVME162_SCC
static int mvme162_scc_init(void)
static int __init mvme162_scc_init(void)
{
struct scc_port *port;
int error;
Expand Down Expand Up @@ -404,7 +404,7 @@ static int mvme162_scc_init(void)


#ifdef CONFIG_BVME6000_SCC
static int bvme6000_scc_init(void)
static int __init bvme6000_scc_init(void)
{
struct scc_port *port;
int error;
Expand Down Expand Up @@ -503,7 +503,7 @@ static int bvme6000_scc_init(void)
#endif


static int vme_scc_init(void)
static int __init vme_scc_init(void)
{
int res = -ENODEV;

Expand Down

0 comments on commit eb054e3

Please sign in to comment.