Browse Source

pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>

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>
Masahiro Yamada 8 years ago
parent
commit
6d363bd178
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pinctrl/uniphier/pinctrl-uniphier.h

+ 1 - 1
drivers/pinctrl/uniphier/pinctrl-uniphier.h

@@ -17,7 +17,7 @@
 #define __PINCTRL_UNIPHIER_H__
 #define __PINCTRL_UNIPHIER_H__
 
 
 #include <linux/bitops.h>
 #include <linux/bitops.h>
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/types.h>