Message ID | 20180304225717.20890-7-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h index 3ddeb13c..f5081663 100644 --- a/backport/backport-include/linux/kernel.h +++ b/backport/backport-include/linux/kernel.h @@ -1,6 +1,7 @@ #ifndef __BACKPORT_KERNEL_H #define __BACKPORT_KERNEL_H #include_next <linux/kernel.h> +#include <linux/bug.h> #include <linux/version.h> /* * some older kernels don't have this and thus don't
This prevents some compile problems in rtlwifi. Without this patch I am getting a compile error in drivers/net/wireless/realtek/rtlwifi/rtl8821ae/table.c with multiple kernel versions because BUILD_BUG_ON_ZERO is implicitly defined. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- backport/backport-include/linux/kernel.h | 1 + 1 file changed, 1 insertion(+)