]> git.sur5r.net Git - u-boot/commitdiff
pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 5 May 2018 10:53:53 +0000 (19:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 8 May 2018 01:25:14 +0000 (10:25 +0900)
The #include <linux/bug.h> is here to use BUILD_BUG_ON_ZERO().

By replacing it with <linux/build_bug.h>, we can reduce the number of
headers pulled in.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/pinctrl/uniphier/pinctrl-uniphier.h

index 6557f6a6c7e318ce746b595fd6865dfa15f51c59..55f2b1a4d56903621d51466bffde4863c647b6ed 100644 (file)
@@ -8,7 +8,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>