[PATCH 2/8] pinctrl: Include <linux/bug.h> to prevent compile errors
Linus Walleij
linus.walleij at linaro.org
Tue Mar 20 23:12:52 EST 2012
On Fri, Mar 16, 2012 at 9:54 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> 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 at wwwdotorg.org>
> ---
> v2: Fix accidental replacing of pinctrl-state.h with pinctrl.h
Applied. Thanks!
Linus Walleij
More information about the devicetree-discuss
mailing list