Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1730838 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2017-09-12 14:40 +0200 |
| Last post | 2017-09-13 06:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] w90p910_ether: include linux/interrupt.h Arnd Bergmann <arnd@arndb.de> - 2017-09-12 14:40 +0200
Re: [PATCH] w90p910_ether: include linux/interrupt.h David Miller <davem@davemloft.net> - 2017-09-13 06:00 +0200
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2017-09-12 14:40 +0200 |
| Subject | [PATCH] w90p910_ether: include linux/interrupt.h |
| Message-ID | <uoSDT-1dW-1@gated-at.bofh.it> |
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> --- drivers/net/ethernet/nuvoton/w90p910_ether.c | 1 + 1 file changed, 1 insertion(+) 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> -- 2.9.0
[toc] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2017-09-13 06:00 +0200 |
| Message-ID | <up70e-24C-7@gated-at.bofh.it> |
| In reply to | #1730838 |
From: Arnd Bergmann <arnd@arndb.de> Date: Tue, 12 Sep 2017 14:31:48 +0200 > 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> Applied.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web