plat-nomadik: small fixup for gpio.h
Subsystems (2)
PATCH 1/1 plat-nomadik: small fixup for gpio.h
Removing the generic gpio.h broke compilation of the Nomadik GPIO driver since it implicitly got u32 from it. Explicitly include <linux/kernel.h> so we get u32 defined.
Signed-off-by Linus Walleij <[email protected]>
--- arch/arm/plat-nomadik/include/plat/gpio.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
(quoted diff) +0 -0
b/arch/arm/plat-nomadik/include/plat/gpio.h
index cf0b78b..b894a53 100644
arch/arm/plat-nomadik/include/plat/gpio.h +2 -0
@@ -12,6 +12,8 @@#ifndef __ASM_PLAT_GPIO_H#define __ASM_PLAT_GPIO_H +#include <linux/kernel.h> +/* * "nmk_gpio" and "NMK_GPIO" stand for "Nomadik GPIO", leaving * the "gpio" namespace for generic and cross-machine functions
--=20
1.7.3.2
Thanks,
Linus Walleij