w90p910_ether: include linux/interrupt.h
authorArnd Bergmann <arnd@arndb.de>
Tue, 12 Sep 2017 12:31:48 +0000 (14:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Sep 2017 03:59:19 +0000 (20:59 -0700)
A randconfig build caused a compile failure:

drivers/net/ethernet/nuvoton/w90p910_ether.c: In function 'w90p910_ether_close':
drivers/net/ethernet/nuvoton/w90p910_ether.c:580:2: error: implicit declaration of function 'free_irq'; did you mean 'free_uid'? [-Werror=implicit-function-declaration]

Adding the correct include fixes the problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nuvoton/w90p910_ether.c

index 89ab786da25f7545353ef9c1911cb9916dad3b57..4a67c55aa9f14ac61706562bc8c3908de63053df 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <linux/mii.h>
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>