iwlwifi: mvm: add missing include
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 19 Mar 2014 06:25:05 +0000 (08:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 19 Mar 2014 06:25:05 +0000 (08:25 +0200)
This fixes the build for powerpc:

After merging the final tree, today's linux-next build (powerpc allyesconfig)
failed like this:

drivers/net/wireless/iwlwifi/mvm/debugfs.c: In function 'iwl_dbgfs_fw_error_dump_release':
drivers/net/wireless/iwlwifi/mvm/debugfs.c:161:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
  vfree(file->private_data);
  ^

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c

index 2566fa9913ef9b773eeb5b62def3b7ce1555480e..1b52deea60812e4f6ac42c94412b1ecf518f44f7 100644 (file)
@@ -60,6 +60,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  *****************************************************************************/
+#include <linux/vmalloc.h>
+
 #include "mvm.h"
 #include "sta.h"
 #include "iwl-io.h"