Re: [PATCH 2/8] pinctrl: Include <linux/bug.h> to prevent compile errors
From: Linus Walleij <hidden>
Date: 2012-03-20 12:12:55
Also in:
linux-tegra, lkml
From: Linus Walleij <hidden>
Date: 2012-03-20 12:12:55
Also in:
linux-tegra, lkml
On Fri, Mar 16, 2012 at 9:54 PM, Stephen Warren [off-list ref] 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 <redacted> --- v2: Fix accidental replacing of pinctrl-state.h with pinctrl.h
Applied. Thanks! Linus Walleij