diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-22 01:11:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-22 01:11:06 +0200 |
commit | 10ed61c432c013705ef6a2bebad139fc5d72e274 (patch) | |
tree | 73a4cd7477e0cbb5cbf49bb493437bb507a8a8cd /drivers/net/sfc | |
parent | Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/net-next-2.6 (diff) | |
download | linux-10ed61c432c013705ef6a2bebad139fc5d72e274.tar.xz linux-10ed61c432c013705ef6a2bebad139fc5d72e274.zip |
sfc: Fix build due to lack of vmalloc.h include.
drivers/net/sfc/filter.c: In function ‘efx_probe_filters’:
drivers/net/sfc/filter.c:422: error: implicit declaration of function ‘vmalloc’
drivers/net/sfc/filter.c:422: warning: assignment makes pointer from integer without a cast
drivers/net/sfc/filter.c: In function ‘efx_remove_filters’:
drivers/net/sfc/filter.c:442: error: implicit declaration of function ‘vfree’
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index ea6691c83fba..b3f2bf436735 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -29,6 +29,7 @@ #include <linux/device.h> #include <linux/highmem.h> #include <linux/workqueue.h> +#include <linux/vmalloc.h> #include <linux/i2c.h> #include "enum.h" |