Skip to content
  • Yoshihiro Shimoda's avatar
    net: sh_eth: fix the compile error · 69558eee
    Yoshihiro Shimoda authored
    
    
    Fix the following build error:
    
      CC      drivers/net/sh_eth.o
    drivers/net/sh_eth.c:1115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sh_eth_interrupt’
    drivers/net/sh_eth.c: In function ‘sh_eth_open’:
    drivers/net/sh_eth.c:1387: error: implicit declaration of function ‘request_irq’
    drivers/net/sh_eth.c:1387: error: ‘sh_eth_interrupt’ undeclared (first use in this function)
    drivers/net/sh_eth.c:1387: error: (Each undeclared identifier is reported only once
    drivers/net/sh_eth.c:1387: error: for each function it appears in.)
    drivers/net/sh_eth.c:1391: error: ‘IRQF_SHARED’ undeclared (first use in this function)
    drivers/net/sh_eth.c:1424: error: implicit declaration of function ‘free_irq’
    make[2]: *** [drivers/net/sh_eth.o] Error 1
    
    Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    69558eee