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, 11 Apr 2012 07:31:01 +0000 (09:31 +0200)
commit6f11f6f1a0a717eb8bd0dadd101c4522b945c501
treef9de4499341c9fb78841143969613a96da5c768e
parent89e004e78ff6317520d35bdb0d0174893ab49f17
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