Commit 10ed61c4 authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 98e684bd
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/vmalloc.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include "enum.h" #include "enum.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment