Skip to content

Commit 69558ee

Browse files
shimodaydavem330
authored andcommitted
net: sh_eth: fix the compile error
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: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6e6f400 commit 69558ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/sh_eth.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/phy.h>
3232
#include <linux/cache.h>
3333
#include <linux/io.h>
34+
#include <linux/interrupt.h>
3435
#include <linux/pm_runtime.h>
3536
#include <linux/slab.h>
3637
#include <linux/ethtool.h>

0 commit comments

Comments
 (0)