Message ID | 1253807473-9997-1-git-send-email-nsekhar@ti.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/arch/arm/mach-davinci/include/mach/system.h b/arch/arm/mach-davinci/include/mach/system.h index 8e4f10f..f1a5f3d 100644 --- a/arch/arm/mach-davinci/include/mach/system.h +++ b/arch/arm/mach-davinci/include/mach/system.h @@ -13,6 +13,7 @@ #include <linux/io.h> #include <mach/hardware.h> +#include <asm/proc-fns.h> extern void davinci_watchdog_reset(void);
include/mach/system.h uses the cpu_do_idle() function which is defined in asm/proc-fns.h. Without this patch including system.h leads to error of the sort: error: implicit declaration of function 'cpu_do_idle' Signed-off-by: Sekhar Nori <nsekhar@ti.com> --- arch/arm/mach-davinci/include/mach/system.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)