summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSekhar Nori2009-07-09 16:56:38 +0200
committerKevin Hilman2009-08-26 09:57:01 +0200
commit6077d265324f13a4b7db30eb70cabed07fd58936 (patch)
tree65794fcce7edc6cd70ef63caca93a966c7d8e36c /arch/arm
parentdavinci: da830: updates for mach-type name change (diff)
downloadkernel-qcow2-linux-6077d265324f13a4b7db30eb70cabed07fd58936.tar.gz
kernel-qcow2-linux-6077d265324f13a4b7db30eb70cabed07fd58936.tar.xz
kernel-qcow2-linux-6077d265324f13a4b7db30eb70cabed07fd58936.zip
davinci: make arch_idle and arch_reset as inline functions
Make arch_idle and arch_reset inline as inline function. Not having them inline leads to a warning of this sort when only one of these functions is used: arch/arm/mach-davinci/include/mach/system.h:24: warning: 'arch_reset' \ defined but not used boot, re-boot tested on OMAP-L138 EVM Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-davinci/include/mach/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/system.h b/arch/arm/mach-davinci/include/mach/system.h
index b7e7036674fa..8e4f10fe1263 100644
--- a/arch/arm/mach-davinci/include/mach/system.h
+++ b/arch/arm/mach-davinci/include/mach/system.h
@@ -16,12 +16,12 @@
extern void davinci_watchdog_reset(void);
-static void arch_idle(void)
+static inline void arch_idle(void)
{
cpu_do_idle();
}
-static void arch_reset(char mode, const char *cmd)
+static inline void arch_reset(char mode, const char *cmd)
{
davinci_watchdog_reset();
}