From: Roland Dreier Date: Fri, 14 Feb 2014 04:45:17 +0000 (-0800) Subject: mlx5: Add include of because of kzalloc()/kfree() use X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ecde51dd7894ffe2f959cca1fea3ea2b9ee2394;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mlx5: Add include of because of kzalloc()/kfree() use On some architectures (for example, arm), we don't end up indirectly pulling in the declaration of kzalloc() and kfree(), and so building anything that includes breaks. Fix this by adding an explicit include to get the declaration. Reported-by: kbuild test robot Signed-off-by: Roland Dreier --- diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 32cb18c399c2..130bc8d77fa5 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -38,8 +38,10 @@ #include #include #include +#include #include #include + #include #include