diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-09-12 14:31:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-12 20:59:19 -0700 |
commit | 854426ef359c52bdf7087bc20c8d9105d075ca29 (patch) | |
tree | 7af737bf37dac7efe6f56f33eb4fffa961250557 /drivers/net/ethernet/nuvoton | |
parent | f13ad104b4e886a03e75f130daf579ef9bf33dfc (diff) | |
download | linux-854426ef359c52bdf7087bc20c8d9105d075ca29.tar.bz2 |
w90p910_ether: include linux/interrupt.h
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>
Diffstat (limited to 'drivers/net/ethernet/nuvoton')
-rw-r--r-- | drivers/net/ethernet/nuvoton/w90p910_ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/nuvoton/w90p910_ether.c b/drivers/net/ethernet/nuvoton/w90p910_ether.c index 89ab786da25f..4a67c55aa9f1 100644 --- a/drivers/net/ethernet/nuvoton/w90p910_ether.c +++ b/drivers/net/ethernet/nuvoton/w90p910_ether.c @@ -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> |