From: David S. Miller Date: Tue, 21 Sep 2010 23:12:11 +0000 (-0700) Subject: ethtool: Fix build due to lack of ethtool.h include. X-Git-Tag: MMI-PSA29.97-13-9~21994^2~386 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73da16c28ed0724755afdb95c7dd6b166381be10;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ethtool: Fix build due to lack of ethtool.h include. net/core/ethtool.c: In function 'ethtool_get_regs': net/core/ethtool.c:818:2: error: implicit declaration of function 'vmalloc' net/core/ethtool.c:818:9: warning: assignment makes pointer from integer without a cast net/core/ethtool.c:833:2: error: implicit declaration of function 'vfree' Signed-off-by: David S. Miller --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index dae2fd053c2b..7d7e572cedc7 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -19,6 +19,7 @@ #include #include #include +#include #include /*