Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6077d265 authored by Sekhar Nori's avatar Sekhar Nori Committed by Kevin Hilman
Browse files

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: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent baf09a4c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
}