diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-21 16:11:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-21 16:11:06 -0700 |
commit | 10ed61c432c013705ef6a2bebad139fc5d72e274 (patch) | |
tree | 73a4cd7477e0cbb5cbf49bb493437bb507a8a8cd | |
parent | 98e684bd5c927cb94ff23fb6f1dd34dd346a19cf (diff) | |
download | linux-10ed61c432c013705ef6a2bebad139fc5d72e274.tar.bz2 |
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>
-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" |