Skip to content

Commit 6d363bd

Browse files
masahir0yLinus Walleij
authored andcommitted
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 bc6245e ("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>
1 parent 5969d1b commit 6d363bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pinctrl/uniphier/pinctrl-uniphier.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define __PINCTRL_UNIPHIER_H__
1818

1919
#include <linux/bitops.h>
20-
#include <linux/bug.h>
20+
#include <linux/build_bug.h>
2121
#include <linux/kernel.h>
2222
#include <linux/types.h>
2323

0 commit comments

Comments
 (0)