Skip to content

Commit

Permalink
fix drivers/net/atarilance.c compilation
Browse files Browse the repository at this point in the history
This patch fixes the following build error:

<--  snip  -->

...
  CC [M]  drivers/net/atarilance.o
{standard input}: Assembler messages:
{standard input}:406: Error: symbol `Lberr' is already defined
{standard input}:460: Error: symbol `Lberr' is already defined
make[3]: *** [drivers/net/atarilance.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Mar 5, 2008
1 parent d94e6fe commit f37c768
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/atarilance.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,6 @@ struct lance_addr {

/***************************** Prototypes *****************************/

static int addr_accessible( volatile void *regp, int wordflag, int
writeflag );
static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
*init_rec );
static int lance_open( struct net_device *dev );
Expand Down Expand Up @@ -406,7 +404,8 @@ struct net_device * __init atarilance_probe(int unit)

/* Derived from hwreg_present() in atari/config.c: */

static int __init addr_accessible( volatile void *regp, int wordflag, int writeflag )
static noinline int __init addr_accessible(volatile void *regp, int wordflag,
int writeflag)
{
int ret;
long flags;
Expand Down

0 comments on commit f37c768

Please sign in to comment.