[3/7] pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h>

Message ID 1525517637-17603-4-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 03cfc80134d494f8e9aa4deeb57d1f21b0842bc4
Headers show
Series
  • ARM: uniphier: support drive-strength pin configuration
Related show

Commit Message

Masahiro Yamada May 5, 2018, 10:53 a.m.
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier.h b/drivers/pinctrl/uniphier/pinctrl-uniphier.h
index a0eccf8..40e5ad7 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier.h
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier.h
@@ -9,7 +9,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>