]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 3 Apr 2012 20:17:24 +0000 (22:17 +0200)
commit7a2203b3fdbd13c0be28b2f7f859b4be1c2704bd
treeb6e2c2d4b396ce52e65161ba7174ec0c29fb3a5e
parentdd775ae2549217d3ae09363e3edb305d0fa19928
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