diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-21 19:11:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-21 19:11:06 -0400 |
commit | 10ed61c432c013705ef6a2bebad139fc5d72e274 (patch) | |
tree | 73a4cd7477e0cbb5cbf49bb493437bb507a8a8cd /drivers/net/sfc | |
parent | 98e684bd5c927cb94ff23fb6f1dd34dd346a19cf (diff) |
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 @@ | |||
29 | #include <linux/device.h> | 29 | #include <linux/device.h> |
30 | #include <linux/highmem.h> | 30 | #include <linux/highmem.h> |
31 | #include <linux/workqueue.h> | 31 | #include <linux/workqueue.h> |
32 | #include <linux/vmalloc.h> | ||
32 | #include <linux/i2c.h> | 33 | #include <linux/i2c.h> |
33 | 34 | ||
34 | #include "enum.h" | 35 | #include "enum.h" |