Skip to content

Commit

Permalink
[PATCH] drivers/net/arm missing __devinit
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Dec 4, 2006
1 parent afc8eb4 commit bffa215
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions drivers/net/arm/ether1.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ ether1_readbuffer (struct net_device *dev, void *data, unsigned int start, unsig
} while (thislen);
}

static int __init
static int __devinit
ether1_ramtest(struct net_device *dev, unsigned char byte)
{
unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL);
Expand Down Expand Up @@ -308,7 +308,7 @@ ether1_reset (struct net_device *dev)
return BUS_16;
}

static int __init
static int __devinit
ether1_init_2(struct net_device *dev)
{
int i;
Expand Down Expand Up @@ -986,7 +986,7 @@ ether1_setmulticastlist (struct net_device *dev)

/* ------------------------------------------------------------------------- */

static void __init ether1_banner(void)
static void __devinit ether1_banner(void)
{
static unsigned int version_printed = 0;

Expand Down
8 changes: 4 additions & 4 deletions drivers/net/arm/ether3.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static inline void ether3_ledon(struct net_device *dev)
* Read the ethernet address string from the on board rom.
* This is an ascii string!!!
*/
static int __init
static int __devinit
ether3_addr(char *addr, struct expansion_card *ec)
{
struct in_chunk_dir cd;
Expand All @@ -223,7 +223,7 @@ ether3_addr(char *addr, struct expansion_card *ec)

/* --------------------------------------------------------------------------- */

static int __init
static int __devinit
ether3_ramtest(struct net_device *dev, unsigned char byte)
{
unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL);
Expand Down Expand Up @@ -272,7 +272,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)

/* ------------------------------------------------------------------------------- */

static int __init ether3_init_2(struct net_device *dev)
static int __devinit ether3_init_2(struct net_device *dev)
{
int i;

Expand Down Expand Up @@ -765,7 +765,7 @@ static void ether3_tx(struct net_device *dev)
}
}

static void __init ether3_banner(void)
static void __devinit ether3_banner(void)
{
static unsigned version_printed = 0;

Expand Down

0 comments on commit bffa215

Please sign in to comment.