sfc: Fix build due to lack of vmalloc.h include.
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2010 23:11:06 +0000 (16:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2010 23:11:06 +0000 (16:11 -0700)
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>
drivers/net/sfc/net_driver.h

index ea6691c..b3f2bf4 100644 (file)
@@ -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"