提交 f37c768c 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

fix drivers/net/atarilance.c compilation

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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 d94e6fed
...@@ -336,8 +336,6 @@ struct lance_addr { ...@@ -336,8 +336,6 @@ struct lance_addr {
/***************************** Prototypes *****************************/ /***************************** Prototypes *****************************/
static int addr_accessible( volatile void *regp, int wordflag, int
writeflag );
static unsigned long lance_probe1( struct net_device *dev, struct lance_addr static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
*init_rec ); *init_rec );
static int lance_open( struct net_device *dev ); static int lance_open( struct net_device *dev );
...@@ -406,7 +404,8 @@ struct net_device * __init atarilance_probe(int unit) ...@@ -406,7 +404,8 @@ struct net_device * __init atarilance_probe(int unit)
/* Derived from hwreg_present() in atari/config.c: */ /* 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; int ret;
long flags; long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册