From: David Brownell Date: Mon, 29 Oct 2007 23:15:46 +0000 (+0100) Subject: [ARM] 4634/1: DaVinci GPIO header build fix X-Git-Tag: v2.6.24-rc2~64^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=558de8a74efe37a4b5e2ef944da17d23e701dd98;p=linux-2.6 [ARM] 4634/1: DaVinci GPIO header build fix This fixes a build problem with GPIOs on DaVinci. Since it inlines operations for on-chip GPIOs, it needs some headers to support those direct register accesses. Those headers won't be included on other platforms, since they don't have that optimization. Signed-off-by: David Brownell Acked-by: Kevin Hilman Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-davinci/gpio.h b/include/asm-arm/arch-davinci/gpio.h index ea24a0e0bf..ff8de30b2f 100644 --- a/include/asm-arm/arch-davinci/gpio.h +++ b/include/asm-arm/arch-davinci/gpio.h @@ -13,6 +13,9 @@ #ifndef __DAVINCI_GPIO_H #define __DAVINCI_GPIO_H +#include +#include + /* * basic gpio routines *