commit | 22f099d0fcb33073a1f1f10402a16b28602e20f2 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@wwwdotorg.org> | Fri Mar 16 14:54:23 2012 -0600 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 18 13:53:09 2012 +0200 |
tree | a6a8406a85474acdb0cffed476cf27c54d017f83 | |
parent | 6974f1f458b083a84778641c6a4665799d6156da [diff] |
pinctrl: include <linux/bug.h> to prevent compile errors Macros in <linux/pinctrl/machine.h> call ARRAY_SIZE(), the definition of which eventually calls BUILD_BUG_ON_ZERO(), which is defined in <linux/bug.h>. Include that so that every .c file using the pinctrl macros doesn't have to do that itself. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>