Skip to content
Snippets Groups Projects
Commit aab2bf02 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

lib_ppc/interrupts.c: make board_show_activity() a weak function


This allows to use show_activity() without having to
define an empty board_show_activity() function.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent fe876787
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,12 @@
#endif
#ifdef CONFIG_SHOW_ACTIVITY
extern void board_show_activity (ulong);
void board_show_activity (ulong) __attribute__((weak, alias("__board_show_activity")));
void __board_show_activity (ulong dummy)
{
return;
}
#endif /* CONFIG_SHOW_ACTIVITY */
#ifndef CFG_WATCHDOG_FREQ
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment