]> git.baikalelectronics.ru Git - kernel.git/commitdiff
pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 2 Sep 2017 17:26:18 +0000 (02:26 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Sep 2017 09:18:17 +0000 (11:18 +0200)
The #includes <linux/bug.h> is here to use BUILD_BUG_ON_ZERO().

Thanks to commit bc6245e5efd7 ("bug: split BUILD_BUG stuff out into
<linux/build_bug.h>"), it is now possible to reduce the number of
headers pulled in.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/uniphier/pinctrl-uniphier.h

index c075ecb8e5dbf6967d84aa5559a7bfc333cb6af9..0a3d2ac275033245fc2649db03e5956a4ff862fb 100644 (file)
@@ -17,7 +17,7 @@
 #define __PINCTRL_UNIPHIER_H__
 
 #include <linux/bitops.h>
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 #include <linux/kernel.h>
 #include <linux/types.h>