]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: include <linux/bug.h> to prevent compile errors
authorStephen Warren <swarren@wwwdotorg.org>
Fri, 16 Mar 2012 20:54:23 +0000 (14:54 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Apr 2012 11:53:09 +0000 (13:53 +0200)
commit14b9aa2af7b32b28129e0fc668da113087c65b56
treea6a8406a85474acdb0cffed476cf27c54d017f83
parentbd55582f4547ecc78b676b9cb2d116f08bcc93b9
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>
include/linux/pinctrl/machine.h