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 ea6691c83fbae95a23283fcdb49ae37e3163b67b..b3f2bf436735206ba914565ab0d26754ced4e0cc 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"