From: Stephen Warren Date: Fri, 16 Mar 2012 20:54:23 +0000 (-0600) Subject: pinctrl: include to prevent compile errors X-Git-Tag: next-20120411~13^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a2203b3fdbd13c0be28b2f7f859b4be1c2704bd;p=karo-tx-linux.git pinctrl: include to prevent compile errors Macros in call ARRAY_SIZE(), the definition of which eventually calls BUILD_BUG_ON_ZERO(), which is defined in . Include that so that every .c file using the pinctrl macros doesn't have to do that itself. Signed-off-by: Stephen Warren Signed-off-by: Linus Walleij --- diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h index fee4349364f7..226444eb65a1 100644 --- a/include/linux/pinctrl/machine.h +++ b/include/linux/pinctrl/machine.h @@ -12,6 +12,8 @@ #ifndef __LINUX_PINCTRL_MACHINE_H #define __LINUX_PINCTRL_MACHINE_H +#include + #include "pinctrl-state.h" enum pinctrl_map_type {