The following commit has been merged in the linux branch: commit bc36b4285136bcc8dd43e91ffe34df6a52a0cfaf Author: Manuel Lauss manuel.lauss@googlemail.com Date: Sat Oct 17 02:00:07 2009 +0000
net: au1000_eth: add missing capability.h
fixes the following build failure: CC drivers/net/au1000_eth.o /drivers/net/au1000_eth.c: In function 'au1000_set_settings': /drivers/net/au1000_eth.c:623: error: implicit declaration of function 'capable' /drivers/net/au1000_eth.c:623: error: 'CAP_NET_ADMIN' undeclared (first use in this function) /drivers/net/au1000_eth.c:623: error: (Each undeclared identifier is reported only once /drivers/net/au1000_eth.c:623: error: for each function it appears in.
Signed-off-by: Manuel Lauss manuel.lauss@gmail.com Signed-off-by: David S. Miller davem@davemloft.net
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c index 04f63c7..ce6f1ac 100644 --- a/drivers/net/au1000_eth.c +++ b/drivers/net/au1000_eth.c @@ -34,6 +34,7 @@ * * */ +#include <linux/capability.h> #include <linux/dma-mapping.h> #include <linux/module.h> #include <linux/kernel.h>